* grub-core/loader/i386/multiboot_mbi.c (grub_fill_multiboot_mmap):

Add BADRAM.
	* grub-core/loader/multiboot_mbi2.c (grub_fill_multiboot_mmap):
	Likewise.
	* include/multiboot.h: Resynced with specification.
	* include/multiboot2.h: Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-09-21 02:06:14 +02:00
parent 269004c158
commit 77a94e9810
5 changed files with 72 additions and 2 deletions

View file

@ -229,6 +229,10 @@ grub_fill_multiboot_mmap (struct multiboot_mmap_entry *first_entry)
case GRUB_MEMORY_NVS:
mmap_entry->type = MULTIBOOT_MEMORY_NVS;
break;
case GRUB_MEMORY_BADRAM:
mmap_entry->type = MULTIBOOT_MEMORY_BADRAM;
break;
default:
mmap_entry->type = MULTIBOOT_MEMORY_RESERVED;