[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MULTIBOOT2 DOC PATCH v3 08/13] multiboot2: Add description of EFI image
From: |
Daniel Kiper |
Subject: |
[MULTIBOOT2 DOC PATCH v3 08/13] multiboot2: Add description of EFI image handle tags |
Date: |
Tue, 6 Dec 2016 23:52:56 +0100 |
Signed-off-by: Daniel Kiper <address@hidden>
---
doc/multiboot.texi | 28 ++++++++++++++++++++++++++++
doc/multiboot2.h | 16 ++++++++++++++++
2 files changed, 44 insertions(+)
diff --git a/doc/multiboot.texi b/doc/multiboot.texi
index 9f13e74..1581220 100644
--- a/doc/multiboot.texi
+++ b/doc/multiboot.texi
@@ -1295,6 +1295,34 @@ u32 | size = 8 |
This tag indicates ExitBootServices wasn't called
address@hidden EFI 32-bit image handle pointer
address@hidden
address@hidden
+ +-------------------+
+u32 | type = 19 |
+u32 | size = 12 |
+u32 | pointer |
+ +-------------------+
address@hidden group
address@hidden example
+
+This tag contains pointer to EFI i386 image handle.
+Usually it is boot loader image handle.
+
address@hidden EFI 64-bit image handle pointer
address@hidden
address@hidden
+ +-------------------+
+u32 | type = 20 |
+u32 | size = 16 |
+u64 | pointer |
+ +-------------------+
address@hidden group
address@hidden example
+
+This tag contains pointer to EFI amd64 image handle.
+Usually it is boot loader image handle.
+
@node Examples
@chapter Examples
diff --git a/doc/multiboot2.h b/doc/multiboot2.h
index 240400d..b85cb13 100644
--- a/doc/multiboot2.h
+++ b/doc/multiboot2.h
@@ -60,6 +60,8 @@
#define MULTIBOOT_TAG_TYPE_NETWORK 16
#define MULTIBOOT_TAG_TYPE_EFI_MMAP 17
#define MULTIBOOT_TAG_TYPE_EFI_BS 18
+#define MULTIBOOT_TAG_TYPE_EFI32_IH 19
+#define MULTIBOOT_TAG_TYPE_EFI64_IH 20
#define MULTIBOOT_HEADER_TAG_END 0
#define MULTIBOOT_HEADER_TAG_INFORMATION_REQUEST 1
@@ -372,6 +374,20 @@ struct multiboot_tag_efi_mmap
multiboot_uint8_t efi_mmap[0];
};
+struct multiboot_tag_efi32_ih
+{
+ multiboot_uint32_t type;
+ multiboot_uint32_t size;
+ multiboot_uint32_t pointer;
+};
+
+struct multiboot_tag_efi64_ih
+{
+ multiboot_uint32_t type;
+ multiboot_uint32_t size;
+ multiboot_uint64_t pointer;
+};
+
#endif /* ! ASM_FILE */
#endif /* ! MULTIBOOT_HEADER */
--
1.7.10.4
- Re: [MULTIBOOT2 DOC PATCH v3 01/13] multiboot2: Replace u_phys with u32, (continued)
- [MULTIBOOT2 DOC PATCH v3 04/13] multiboot2: Replace redundant if with the, Daniel Kiper, 2016/12/06
- [MULTIBOOT2 DOC PATCH v3 05/13] multiboot2: Clarify meaning of information request header tag, Daniel Kiper, 2016/12/06
- [MULTIBOOT2 DOC PATCH v3 03/13] multiboot2: Rename Multiboot to Multiboot2, Daniel Kiper, 2016/12/06
- [MULTIBOOT2 DOC PATCH v3 06/13] multiboot2: Fix description of EFI boot services tag, Daniel Kiper, 2016/12/06
- [MULTIBOOT2 DOC PATCH v3 07/13] multiboot2: Add description of support for EFI boot services, Daniel Kiper, 2016/12/06
- [MULTIBOOT2 DOC PATCH v3 10/13] multiboot2: Say that memory maps may not be available on EFI platforms, Daniel Kiper, 2016/12/06
- [MULTIBOOT2 DOC PATCH v3 08/13] multiboot2: Add description of EFI image handle tags,
Daniel Kiper <=
- [MULTIBOOT2 DOC PATCH v3 09/13] multiboot2: Add description of support for relocatable images, Daniel Kiper, 2016/12/06
- [MULTIBOOT2 DOC PATCH v3 11/13] multiboot2: Add C structure members alignment and padding consideration section, Daniel Kiper, 2016/12/06
- [MULTIBOOT2 DOC PATCH v3 12/13] multiboot2: Add me to authors, Daniel Kiper, 2016/12/06
- [MULTIBOOT2 DOC PATCH v3 13/13] multiboot2: Bump version to 2.0, Daniel Kiper, 2016/12/06
- Re: [MULTIBOOT2 DOC PATCH v3 00/13] multiboot2: Update documentation, Konrad Rzeszutek Wilk, 2016/12/06
- Re: [MULTIBOOT2 DOC PATCH v3 00/13] multiboot2: Update documentation, Daniel Kiper, 2016/12/09