|
Lines 23-29
Link Here
|
| 23 |
#include "iso_fs.h" |
23 |
#include "iso_fs.h" |
| 24 |
#include "el_torito.h" |
24 |
#include "el_torito.h" |
| 25 |
|
25 |
|
| 26 |
typedef long sector_t; |
26 |
typedef long long sector_t; |
| 27 |
|
27 |
|
| 28 |
typedef struct _rr_entry { |
28 |
typedef struct _rr_entry { |
| 29 |
int len; /* length of structure */ |
29 |
int len; /* length of structure */ |
|
Lines 48-54
Link Here
|
| 48 |
int re; /* relocated */ |
48 |
int re; /* relocated */ |
| 49 |
char z_algo[2]; /* zizofs algorithm */ |
49 |
char z_algo[2]; /* zizofs algorithm */ |
| 50 |
char z_params[2]; /* zizofs parameters */ |
50 |
char z_params[2]; /* zizofs parameters */ |
| 51 |
int z_size; /* zizofs real_size */ |
51 |
long long z_size; /* zizofs real_size */ |
| 52 |
} rr_entry; |
52 |
} rr_entry; |
| 53 |
|
53 |
|
| 54 |
typedef struct _iso_vol_desc { |
54 |
typedef struct _iso_vol_desc { |
|
Lines 74-80
Link Here
|
| 74 |
/** |
74 |
/** |
| 75 |
* this callback function needs to read 'len' sectors from 'start' into 'buf' |
75 |
* this callback function needs to read 'len' sectors from 'start' into 'buf' |
| 76 |
*/ |
76 |
*/ |
| 77 |
typedef int readfunc(char *buf,sector_t start, int len,void *); |
77 |
typedef int readfunc(char *buf,sector_t start, long long len,void *); |
| 78 |
|
78 |
|
| 79 |
/** |
79 |
/** |
| 80 |
* ProcessDir uses this callback |
80 |
* ProcessDir uses this callback |
|
Lines 135-141
Link Here
|
| 135 |
/** |
135 |
/** |
| 136 |
* Returns the size of the boot image (in 512 byte sectors) |
136 |
* Returns the size of the boot image (in 512 byte sectors) |
| 137 |
*/ |
137 |
*/ |
| 138 |
int BootImageSize(readfunc *read,int media,sector_t start,int len,void *udata); |
138 |
int BootImageSize(readfunc *read,int media,sector_t start,long long len,void *udata); |
| 139 |
|
139 |
|
| 140 |
/** |
140 |
/** |
| 141 |
* Frees the boot catalog entries in 'boot'. If you ever called ReadBootTable, |
141 |
* Frees the boot catalog entries in 'boot'. If you ever called ReadBootTable, |