|
|
f96e0b |
From c0be2c2099805c621f27d5b3ced224db437a582c Mon Sep 17 00:00:00 2001
|
|
|
f96e0b |
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
|
|
|
f96e0b |
Date: Sun, 22 Jul 2012 19:59:06 +0200
|
|
|
f96e0b |
Subject: [PATCH 015/482] New command `lsefi'.
|
|
|
f96e0b |
|
|
|
f96e0b |
* grub-core/Makefile.core.def (lsefi): New module.
|
|
|
f96e0b |
* grub-core/commands/efi/lsefi.c: New file.
|
|
|
f96e0b |
* include/grub/efi/api.h: Add more GUIDs.
|
|
|
f96e0b |
---
|
|
|
f96e0b |
ChangeLog | 8 +++
|
|
|
f96e0b |
grub-core/Makefile.core.def | 6 ++
|
|
|
f96e0b |
grub-core/commands/efi/lsefi.c | 153 +++++++++++++++++++++++++++++++++++++++++
|
|
|
f96e0b |
include/grub/efi/api.h | 142 +++++++++++++++++++++++++++++++++++++-
|
|
|
f96e0b |
4 files changed, 308 insertions(+), 1 deletion(-)
|
|
|
f96e0b |
create mode 100644 grub-core/commands/efi/lsefi.c
|
|
|
f96e0b |
|
|
|
f96e0b |
diff --git a/ChangeLog b/ChangeLog
|
|
|
f96e0b |
index f514465..a21708c 100644
|
|
|
f96e0b |
--- a/ChangeLog
|
|
|
f96e0b |
+++ b/ChangeLog
|
|
|
f96e0b |
@@ -1,5 +1,13 @@
|
|
|
f96e0b |
2012-07-22 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
f96e0b |
|
|
|
f96e0b |
+ New command `lsefi'.
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+ * grub-core/Makefile.core.def (lsefi): New module.
|
|
|
f96e0b |
+ * grub-core/commands/efi/lsefi.c: New file.
|
|
|
f96e0b |
+ * include/grub/efi/api.h: Add more GUIDs.
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+2012-07-22 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
f96e0b |
+
|
|
|
f96e0b |
* grub-core/loader/i386/bsd.c (grub_bsd_elf32_size_hook): Fix mask.
|
|
|
f96e0b |
(grub_bsd_elf32_hook): Likewise.
|
|
|
f96e0b |
(grub_bsd_elf64_size_hook): Likewise.
|
|
|
f96e0b |
diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def
|
|
|
f96e0b |
index 5c2fcc2..de702d6 100644
|
|
|
f96e0b |
--- a/grub-core/Makefile.core.def
|
|
|
f96e0b |
+++ b/grub-core/Makefile.core.def
|
|
|
f96e0b |
@@ -569,6 +569,12 @@ module = {
|
|
|
f96e0b |
};
|
|
|
f96e0b |
|
|
|
f96e0b |
module = {
|
|
|
f96e0b |
+ name = lsefi;
|
|
|
f96e0b |
+ common = commands/efi/lsefi.c;
|
|
|
f96e0b |
+ enable = efi;
|
|
|
f96e0b |
+};
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+module = {
|
|
|
f96e0b |
name = blocklist;
|
|
|
f96e0b |
common = commands/blocklist.c;
|
|
|
f96e0b |
};
|
|
|
f96e0b |
diff --git a/grub-core/commands/efi/lsefi.c b/grub-core/commands/efi/lsefi.c
|
|
|
f96e0b |
new file mode 100644
|
|
|
f96e0b |
index 0000000..8dffbdc
|
|
|
f96e0b |
--- /dev/null
|
|
|
f96e0b |
+++ b/grub-core/commands/efi/lsefi.c
|
|
|
f96e0b |
@@ -0,0 +1,153 @@
|
|
|
f96e0b |
+/*
|
|
|
f96e0b |
+ * GRUB -- GRand Unified Bootloader
|
|
|
f96e0b |
+ * Copyright (C) 2012 Free Software Foundation, Inc.
|
|
|
f96e0b |
+ *
|
|
|
f96e0b |
+ * GRUB is free software: you can redistribute it and/or modify
|
|
|
f96e0b |
+ * it under the terms of the GNU General Public License as published by
|
|
|
f96e0b |
+ * the Free Software Foundation, either version 3 of the License, or
|
|
|
f96e0b |
+ * (at your option) any later version.
|
|
|
f96e0b |
+ *
|
|
|
f96e0b |
+ * GRUB is distributed in the hope that it will be useful,
|
|
|
f96e0b |
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
f96e0b |
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
f96e0b |
+ * GNU General Public License for more details.
|
|
|
f96e0b |
+ *
|
|
|
f96e0b |
+ * You should have received a copy of the GNU General Public License
|
|
|
f96e0b |
+ * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
|
|
|
f96e0b |
+ */
|
|
|
f96e0b |
+#include <grub/types.h>
|
|
|
f96e0b |
+#include <grub/mm.h>
|
|
|
f96e0b |
+#include <grub/misc.h>
|
|
|
f96e0b |
+#include <grub/efi/api.h>
|
|
|
f96e0b |
+#include <grub/efi/edid.h>
|
|
|
f96e0b |
+#include <grub/efi/pci.h>
|
|
|
f96e0b |
+#include <grub/efi/efi.h>
|
|
|
f96e0b |
+#include <grub/efi/uga_draw.h>
|
|
|
f96e0b |
+#include <grub/efi/graphics_output.h>
|
|
|
f96e0b |
+#include <grub/efi/console_control.h>
|
|
|
f96e0b |
+#include <grub/command.h>
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+GRUB_MOD_LICENSE ("GPLv3+");
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+struct known_protocol
|
|
|
f96e0b |
+{
|
|
|
f96e0b |
+ grub_efi_guid_t guid;
|
|
|
f96e0b |
+ const char *name;
|
|
|
f96e0b |
+} known_protocols[] =
|
|
|
f96e0b |
+ {
|
|
|
f96e0b |
+ { GRUB_EFI_DISK_IO_GUID, "disk" },
|
|
|
f96e0b |
+ { GRUB_EFI_BLOCK_IO_GUID, "block" },
|
|
|
f96e0b |
+ { GRUB_EFI_SERIAL_IO_GUID, "serial" },
|
|
|
f96e0b |
+ { GRUB_EFI_SIMPLE_NETWORK_GUID, "network" },
|
|
|
f96e0b |
+ { GRUB_EFI_PXE_GUID, "pxe" },
|
|
|
f96e0b |
+ { GRUB_EFI_DEVICE_PATH_GUID, "device path" },
|
|
|
f96e0b |
+ { GRUB_EFI_PCI_IO_GUID, "PCI" },
|
|
|
f96e0b |
+ { GRUB_EFI_PCI_ROOT_IO_GUID, "PCI root" },
|
|
|
f96e0b |
+ { GRUB_EFI_EDID_ACTIVE_GUID, "active EDID" },
|
|
|
f96e0b |
+ { GRUB_EFI_EDID_DISCOVERED_GUID, "discovered EDID" },
|
|
|
f96e0b |
+ { GRUB_EFI_EDID_OVERRIDE_GUID, "override EDID" },
|
|
|
f96e0b |
+ { GRUB_EFI_GOP_GUID, "GOP" },
|
|
|
f96e0b |
+ { GRUB_EFI_UGA_DRAW_GUID, "UGA draw" },
|
|
|
f96e0b |
+ { GRUB_EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL_GUID, "simple text output" },
|
|
|
f96e0b |
+ { GRUB_EFI_SIMPLE_TEXT_INPUT_PROTOCOL_GUID, "simple text input" },
|
|
|
f96e0b |
+ { GRUB_EFI_SIMPLE_POINTER_PROTOCOL_GUID, "simple pointer" },
|
|
|
f96e0b |
+ { GRUB_EFI_CONSOLE_CONTROL_GUID, "console control" },
|
|
|
f96e0b |
+ { GRUB_EFI_ABSOLUTE_POINTER_PROTOCOL_GUID, "absolute pointer" },
|
|
|
f96e0b |
+ { GRUB_EFI_DRIVER_BINDING_PROTOCOL_GUID, "EFI driver binding" },
|
|
|
f96e0b |
+ { GRUB_EFI_LOAD_FILE_PROTOCOL_GUID, "load file" },
|
|
|
f96e0b |
+ { GRUB_EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_GUID, "simple FS" },
|
|
|
f96e0b |
+ { GRUB_EFI_TAPE_IO_PROTOCOL_GUID, "tape I/O" },
|
|
|
f96e0b |
+ { GRUB_EFI_UNICODE_COLLATION_PROTOCOL_GUID, "unicode collation" },
|
|
|
f96e0b |
+ { GRUB_EFI_SCSI_IO_PROTOCOL_GUID, "SCSI I/O" },
|
|
|
f96e0b |
+ { GRUB_EFI_USB2_HC_PROTOCOL_GUID, "USB host" },
|
|
|
f96e0b |
+ { GRUB_EFI_DEBUG_SUPPORT_PROTOCOL_GUID, "debug support" },
|
|
|
f96e0b |
+ { GRUB_EFI_DEBUGPORT_PROTOCOL_GUID, "debug port" },
|
|
|
f96e0b |
+ { GRUB_EFI_DECOMPRESS_PROTOCOL_GUID, "decompress" },
|
|
|
f96e0b |
+ { GRUB_EFI_LOADED_IMAGE_PROTOCOL_GUID, "loaded image" },
|
|
|
f96e0b |
+ { GRUB_EFI_DEVICE_PATH_TO_TEXT_PROTOCOL_GUID, "device path to text" },
|
|
|
f96e0b |
+ { GRUB_EFI_DEVICE_PATH_UTILITIES_PROTOCOL_GUID, "device path utilities" },
|
|
|
f96e0b |
+ { GRUB_EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL_GUID, "device path from text" },
|
|
|
f96e0b |
+ { GRUB_EFI_HII_CONFIG_ROUTING_PROTOCOL_GUID, "HII config routing" },
|
|
|
f96e0b |
+ { GRUB_EFI_HII_DATABASE_PROTOCOL_GUID, "HII database" },
|
|
|
f96e0b |
+ { GRUB_EFI_HII_STRING_PROTOCOL_GUID, "HII string" },
|
|
|
f96e0b |
+ { GRUB_EFI_HII_IMAGE_PROTOCOL_GUID, "HII image" },
|
|
|
f96e0b |
+ { GRUB_EFI_HII_FONT_PROTOCOL_GUID, "HII font" },
|
|
|
f96e0b |
+ { GRUB_EFI_COMPONENT_NAME2_PROTOCOL_GUID, "component name 2" },
|
|
|
f96e0b |
+ { GRUB_EFI_HII_CONFIGURATION_ACCESS_PROTOCOL_GUID,
|
|
|
f96e0b |
+ "HII configuration access" },
|
|
|
f96e0b |
+ { GRUB_EFI_USB_IO_PROTOCOL_GUID, "USB I/O" },
|
|
|
f96e0b |
+ };
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+static grub_err_t
|
|
|
f96e0b |
+grub_cmd_lsefi (grub_command_t cmd __attribute__ ((unused)),
|
|
|
f96e0b |
+ int argc __attribute__ ((unused)),
|
|
|
f96e0b |
+ char **args __attribute__ ((unused)))
|
|
|
f96e0b |
+{
|
|
|
f96e0b |
+ grub_efi_handle_t *handles;
|
|
|
f96e0b |
+ grub_efi_uintn_t num_handles;
|
|
|
f96e0b |
+ unsigned i, j, k;
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+ handles = grub_efi_locate_handle (GRUB_EFI_ALL_HANDLES,
|
|
|
f96e0b |
+ NULL, NULL, &num_handles);
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+ for (i = 0; i < num_handles; i++)
|
|
|
f96e0b |
+ {
|
|
|
f96e0b |
+ grub_efi_handle_t handle = handles[i];
|
|
|
f96e0b |
+ grub_efi_status_t status;
|
|
|
f96e0b |
+ grub_efi_uintn_t num_protocols;
|
|
|
f96e0b |
+ grub_efi_guid_t **protocols;
|
|
|
f96e0b |
+ grub_efi_device_path_t *dp;
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+ grub_printf ("Handle %p\n", handle);
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+ dp = grub_efi_get_device_path (handle);
|
|
|
f96e0b |
+ if (dp)
|
|
|
f96e0b |
+ {
|
|
|
f96e0b |
+ grub_printf (" ");
|
|
|
f96e0b |
+ grub_efi_print_device_path (dp);
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+ status = efi_call_3 (grub_efi_system_table->boot_services->protocols_per_handle,
|
|
|
f96e0b |
+ handle, &protocols, &num_protocols);
|
|
|
f96e0b |
+ if (status != GRUB_EFI_SUCCESS)
|
|
|
f96e0b |
+ grub_printf ("Unable to retrieve protocols\n");
|
|
|
f96e0b |
+ for (j = 0; j < num_protocols; j++)
|
|
|
f96e0b |
+ {
|
|
|
f96e0b |
+ for (k = 0; k < ARRAY_SIZE (known_protocols); k++)
|
|
|
f96e0b |
+ if (grub_memcmp (protocols[j], &known_protocols[k].guid,
|
|
|
f96e0b |
+ sizeof (known_protocols[k].guid)) == 0)
|
|
|
f96e0b |
+ break;
|
|
|
f96e0b |
+ if (k < ARRAY_SIZE (known_protocols))
|
|
|
f96e0b |
+ grub_printf (" %s\n", known_protocols[k].name);
|
|
|
f96e0b |
+ else
|
|
|
f96e0b |
+ grub_printf (" %08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x\n",
|
|
|
f96e0b |
+ protocols[j]->data1,
|
|
|
f96e0b |
+ protocols[j]->data2,
|
|
|
f96e0b |
+ protocols[j]->data3,
|
|
|
f96e0b |
+ (unsigned) protocols[j]->data4[0],
|
|
|
f96e0b |
+ (unsigned) protocols[j]->data4[1],
|
|
|
f96e0b |
+ (unsigned) protocols[j]->data4[2],
|
|
|
f96e0b |
+ (unsigned) protocols[j]->data4[3],
|
|
|
f96e0b |
+ (unsigned) protocols[j]->data4[4],
|
|
|
f96e0b |
+ (unsigned) protocols[j]->data4[5],
|
|
|
f96e0b |
+ (unsigned) protocols[j]->data4[6],
|
|
|
f96e0b |
+ (unsigned) protocols[j]->data4[7]);
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+ return 0;
|
|
|
f96e0b |
+}
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+static grub_command_t cmd;
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+GRUB_MOD_INIT(lsefi)
|
|
|
f96e0b |
+{
|
|
|
f96e0b |
+ cmd = grub_register_command ("lsefi", grub_cmd_lsefi,
|
|
|
f96e0b |
+ NULL, "Display EFI handles.");
|
|
|
f96e0b |
+}
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+GRUB_MOD_FINI(lsefi)
|
|
|
f96e0b |
+{
|
|
|
f96e0b |
+ grub_unregister_command (cmd);
|
|
|
f96e0b |
+}
|
|
|
f96e0b |
diff --git a/include/grub/efi/api.h b/include/grub/efi/api.h
|
|
|
f96e0b |
index 26127de..9e7a8d8 100644
|
|
|
f96e0b |
--- a/include/grub/efi/api.h
|
|
|
f96e0b |
+++ b/include/grub/efi/api.h
|
|
|
f96e0b |
@@ -104,9 +104,149 @@
|
|
|
f96e0b |
{ 0x8e, 0x39, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \
|
|
|
f96e0b |
}
|
|
|
f96e0b |
|
|
|
f96e0b |
+#define GRUB_EFI_SIMPLE_TEXT_INPUT_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x387477c1, 0x69c7, 0x11d2, \
|
|
|
f96e0b |
+ { 0x8e, 0x39, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0xdd9e7534, 0x7762, 0x4698, \
|
|
|
f96e0b |
+ { 0x8c, 0x14, 0xf5, 0x85, 0x17, 0xa6, 0x25, 0xaa } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x387477c2, 0x69c7, 0x11d2, \
|
|
|
f96e0b |
+ { 0x8e, 0x39, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_SIMPLE_POINTER_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x31878c87, 0xb75, 0x11d5, \
|
|
|
f96e0b |
+ { 0x9a, 0x4f, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_ABSOLUTE_POINTER_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x8D59D32B, 0xC655, 0x4AE9, \
|
|
|
f96e0b |
+ { 0x9B, 0x15, 0xF2, 0x59, 0x04, 0x99, 0x2A, 0x43 } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_DRIVER_BINDING_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x18A031AB, 0xB443, 0x4D1A, \
|
|
|
f96e0b |
+ { 0xA5, 0xC0, 0x0C, 0x09, 0x26, 0x1E, 0x9F, 0x71 } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_LOADED_IMAGE_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x5B1B31A1, 0x9562, 0x11d2, \
|
|
|
f96e0b |
+ { 0x8E, 0x3F, 0x00, 0xA0, 0xC9, 0x69, 0x72, 0x3B } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_LOAD_FILE_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x56EC3091, 0x954C, 0x11d2, \
|
|
|
f96e0b |
+ { 0x8E, 0x3F, 0x00, 0xA0, 0xC9, 0x69, 0x72, 0x3B } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x0964e5b22, 0x6459, 0x11d2, \
|
|
|
f96e0b |
+ { 0x8e, 0x39, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_TAPE_IO_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x1e93e633, 0xd65a, 0x459e, \
|
|
|
f96e0b |
+ { 0xab, 0x84, 0x93, 0xd9, 0xec, 0x26, 0x6d, 0x18 } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_UNICODE_COLLATION_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x1d85cd7f, 0xf43d, 0x11d2, \
|
|
|
f96e0b |
+ { 0x9a, 0x0c, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_SCSI_IO_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x932f47e6, 0x2362, 0x4002, \
|
|
|
f96e0b |
+ { 0x80, 0x3e, 0x3c, 0xd5, 0x4b, 0x13, 0x8f, 0x85 } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_USB2_HC_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x3e745226, 0x9818, 0x45b6, \
|
|
|
f96e0b |
+ { 0xa2, 0xac, 0xd7, 0xcd, 0x0e, 0x8b, 0xa2, 0xbc } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_DEBUG_SUPPORT_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x2755590C, 0x6F3C, 0x42FA, \
|
|
|
f96e0b |
+ { 0x9E, 0xA4, 0xA3, 0xBA, 0x54, 0x3C, 0xDA, 0x25 } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_DEBUGPORT_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0xEBA4E8D2, 0x3858, 0x41EC, \
|
|
|
f96e0b |
+ { 0xA2, 0x81, 0x26, 0x47, 0xBA, 0x96, 0x60, 0xD0 } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_DECOMPRESS_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0xd8117cfe, 0x94a6, 0x11d4, \
|
|
|
f96e0b |
+ { 0x9a, 0x3a, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_DEVICE_PATH_TO_TEXT_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x8b843e20, 0x8132, 0x4852, \
|
|
|
f96e0b |
+ { 0x90, 0xcc, 0x55, 0x1a, 0x4e, 0x4a, 0x7f, 0x1c } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_DEVICE_PATH_UTILITIES_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x379be4e, 0xd706, 0x437d, \
|
|
|
f96e0b |
+ { 0xb0, 0x37, 0xed, 0xb8, 0x2f, 0xb7, 0x72, 0xa4 } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x5c99a21, 0xc70f, 0x4ad2, \
|
|
|
f96e0b |
+ { 0x8a, 0x5f, 0x35, 0xdf, 0x33, 0x43, 0xf5, 0x1e } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_ACPI_TABLE_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0xffe06bdd, 0x6107, 0x46a6, \
|
|
|
f96e0b |
+ { 0x7b, 0xb2, 0x5a, 0x9c, 0x7e, 0xc5, 0x27, 0x5c} \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_HII_CONFIG_ROUTING_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x587e72d7, 0xcc50, 0x4f79, \
|
|
|
f96e0b |
+ { 0x82, 0x09, 0xca, 0x29, 0x1f, 0xc1, 0xa1, 0x0f } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_HII_DATABASE_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0xef9fc172, 0xa1b2, 0x4693, \
|
|
|
f96e0b |
+ { 0xb3, 0x27, 0x6d, 0x32, 0xfc, 0x41, 0x60, 0x42 } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_HII_STRING_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0xfd96974, 0x23aa, 0x4cdc, \
|
|
|
f96e0b |
+ { 0xb9, 0xcb, 0x98, 0xd1, 0x77, 0x50, 0x32, 0x2a } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_HII_IMAGE_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x31a6406a, 0x6bdf, 0x4e46, \
|
|
|
f96e0b |
+ { 0xb2, 0xa2, 0xeb, 0xaa, 0x89, 0xc4, 0x9, 0x20 } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_HII_FONT_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0xe9ca4775, 0x8657, 0x47fc, \
|
|
|
f96e0b |
+ { 0x97, 0xe7, 0x7e, 0xd6, 0x5a, 0x8, 0x43, 0x24 } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_HII_CONFIGURATION_ACCESS_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x330d4706, 0xf2a0, 0x4e4f, \
|
|
|
f96e0b |
+ { 0xa3, 0x69, 0xb6, 0x6f, 0xa8, 0xd5, 0x43, 0x85 } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_COMPONENT_NAME2_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x6a7a5cff, 0xe8d9, 0x4f70, \
|
|
|
f96e0b |
+ { 0xba, 0xda, 0x75, 0xab, 0x30, 0x25, 0xce, 0x14} \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+#define GRUB_EFI_USB_IO_PROTOCOL_GUID \
|
|
|
f96e0b |
+ { 0x2B2F68D6, 0x0CD2, 0x44cf, \
|
|
|
f96e0b |
+ { 0x8E, 0x8B, 0xBB, 0xA2, 0x0B, 0x1B, 0x5B, 0x75 } \
|
|
|
f96e0b |
+ }
|
|
|
f96e0b |
+
|
|
|
f96e0b |
#define GRUB_EFI_MPS_TABLE_GUID \
|
|
|
f96e0b |
{ 0xeb9d2d2f, 0x2d88, 0x11d3, \
|
|
|
f96e0b |
- { 0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
|
|
|
f96e0b |
+ { 0x9a, 0x16, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
|
|
|
f96e0b |
}
|
|
|
f96e0b |
|
|
|
f96e0b |
#define GRUB_EFI_ACPI_TABLE_GUID \
|
|
|
f96e0b |
--
|
|
|
f96e0b |
1.8.2.1
|
|
|
f96e0b |
|