From 28ac2370a585543136e2e122d8570019a90c7e34 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Fri, 13 Dec 2013 12:54:59 +0100 Subject: [PATCH] EFI BS specification --- doc/multiboot.texi | 27 +++++++++++++++++++++++++++ doc/multiboot2.h | 2 ++ 2 files changed, 29 insertions(+) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index a8f45e330..2aac5684e 100644 --- a/doc/multiboot.texi +++ b/doc/multiboot.texi @@ -602,6 +602,21 @@ u32 | size = 8 | If this tag is present modules must be page aligned. +@node EFI boot services +@subsection EFI boot services + +@example +@group + +-------------------+ +u16 | type = 7 | +u16 | flags | +u32 | size = 8 | + +-------------------+ +@end group +@end example + +This tag indicates that payload supports starting without +terminating boot services @node Machine state @section MIPS machine state @@ -1143,6 +1158,18 @@ u32 | descriptor version| This tag contains EFI memory map as per EFI specification. +@subsection EFI boot services not terminated +@example +@group + +-------------------+ +u32 | type = 18 | +u32 | size = 8 | + +-------------------+ +@end group +@end example + +This tag indicates ExitBootServices wasn't called + @node Examples @chapter Examples diff --git a/doc/multiboot2.h b/doc/multiboot2.h index 58f2f6845..272eeca1e 100644 --- a/doc/multiboot2.h +++ b/doc/multiboot2.h @@ -59,6 +59,7 @@ #define MULTIBOOT_TAG_TYPE_ACPI_NEW 15 #define MULTIBOOT_TAG_TYPE_NETWORK 16 #define MULTIBOOT_TAG_TYPE_EFI_MMAP 17 +#define MULTIBOOT_TAG_TYPE_EFI_BS 18 #define MULTIBOOT_HEADER_TAG_END 0 #define MULTIBOOT_HEADER_TAG_INFORMATION_REQUEST 1 @@ -67,6 +68,7 @@ #define MULTIBOOT_HEADER_TAG_CONSOLE_FLAGS 4 #define MULTIBOOT_HEADER_TAG_FRAMEBUFFER 5 #define MULTIBOOT_HEADER_TAG_MODULE_ALIGN 6 +#define MULTIBOOT_HEADER_TAG_EFI_BS 7 #define MULTIBOOT_ARCHITECTURE_I386 0 #define MULTIBOOT_ARCHITECTURE_MIPS32 4 -- 2.47.2