26 |
struct grub_module_header |
struct grub_module_header |
27 |
{ |
{ |
28 |
/* The offset of object code. */ |
/* The offset of object code. */ |
29 |
grub_off_t offset; |
grub_host_off_t offset; |
30 |
/* The size of object code plus this header. */ |
/* The size of object code plus this header. */ |
31 |
grub_size_t size; |
grub_host_size_t size; |
32 |
}; |
}; |
33 |
|
|
34 |
/* "gmim" (GRUB Module Info Magic). */ |
/* "gmim" (GRUB Module Info Magic). */ |
39 |
/* Magic number so we know we have modules present. */ |
/* Magic number so we know we have modules present. */ |
40 |
grub_uint32_t magic; |
grub_uint32_t magic; |
41 |
/* The offset of the modules. */ |
/* The offset of the modules. */ |
42 |
grub_off_t offset; |
grub_host_off_t offset; |
43 |
/* The size of all modules plus this header. */ |
/* The size of all modules plus this header. */ |
44 |
grub_size_t size; |
grub_host_size_t size; |
45 |
}; |
}; |
46 |
|
|
47 |
extern grub_addr_t grub_arch_modules_addr (void); |
extern grub_addr_t grub_arch_modules_addr (void); |