* include/grub/i386/linux.h (linux_kernel_header): Fix init_size type.
* grub-core/loader/i386/linux.c (grub_cmd_linux): Differentiate between prot_size and prot_file_size.
This commit is contained in:
parent
49de079bbe
commit
7c8d0ce7f4
3 changed files with 11 additions and 5 deletions
|
@ -140,7 +140,7 @@ struct linux_kernel_header
|
|||
grub_uint32_t payload_length;
|
||||
grub_uint64_t setup_data;
|
||||
grub_uint64_t pref_address;
|
||||
grub_uint64_t init_size;
|
||||
grub_uint32_t init_size;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
/* Boot parameters for Linux based on 2.6.12. This is used by the setup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue