Add EFI mmap specification

This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2013-10-22 08:37:29 +02:00
1 parent e8dd274c31
commit 9dcda7e112
2 files changed
+25

No files matched your search

+15
View File
@@ -1127,6 +1127,21 @@ u32 | size |
This tag contains network information in the format specified as DHCP. It may be either a real DHCP reply or just the configuration info in the same format. This tag appears once per card.
@subsection EFI memory map
@example
@group
+-------------------+
u32 | type = 17 |
u32 | size |
u32 | descriptor size |
u32 | descriptor version|
| EFI memory map |
+-------------------+
@end group
@end example
This tag contains EFI memory map as per EFI specification.
@node Examples
@chapter Examples
+10
View File
@@ -58,6 +58,7 @@
#define MULTIBOOT_TAG_TYPE_ACPI_OLD 14
#define MULTIBOOT_TAG_TYPE_ACPI_NEW 15
#define MULTIBOOT_TAG_TYPE_NETWORK 16
#define MULTIBOOT_TAG_TYPE_EFI_MMAP 17
#define MULTIBOOT_HEADER_TAG_END 0
#define MULTIBOOT_HEADER_TAG_INFORMATION_REQUEST 1
@@ -361,6 +362,15 @@ struct multiboot_tag_network
multiboot_uint8_t dhcpack[0];
};
struct multiboot_tag_efi_mmap
{
multiboot_uint32_t type;
multiboot_uint32_t size;
multiboot_uint32_t descr_size;
multiboot_uint32_t descr_vers;
multiboot_uint8_t efi_mmap[0];
};
#endif /* ! ASM_FILE */
#endif /* ! MULTIBOOT_HEADER */