[PATCH] Add sysinfo_have_multiboot function
Add a new infrastructure for returning system information to payloads. First up - a pointer to the multiboot table. Signed-off-by: Jordan Crouse <jordan@cosmicpenguin.net> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3743 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Jordan Crouse
parent
3b6c527322
commit
6c6e4333c4
@@ -86,6 +86,8 @@ int get_multiboot_info(struct sysinfo_t *info)
|
||||
|
||||
table = (struct multiboot_header *) phys_to_virt(loader_ebx);
|
||||
|
||||
info->mbtable = phys_to_virt(loader_ebx);
|
||||
|
||||
if (table->flags & MULTIBOOT_FLAGS_MMAP)
|
||||
mb_parse_mmap(table, info);
|
||||
|
||||
|
Reference in New Issue
Block a user