multiboot2: zero reserved field in memory map
Documentation says, bootloader should set reserved field to zero. Reported by Wink Saville <wink@saville.com>
This commit is contained in:
parent
054d1325e9
commit
15dfea842c
1 changed files with 1 additions and 0 deletions
|
@ -420,6 +420,7 @@ grub_fill_multiboot_mmap_iter (grub_uint64_t addr, grub_uint64_t size,
|
||||||
(*mmap_entry)->addr = addr;
|
(*mmap_entry)->addr = addr;
|
||||||
(*mmap_entry)->len = size;
|
(*mmap_entry)->len = size;
|
||||||
(*mmap_entry)->type = type;
|
(*mmap_entry)->type = type;
|
||||||
|
(*mmap_entry)->zero = 0;
|
||||||
(*mmap_entry)++;
|
(*mmap_entry)++;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue