]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg: add definition of LINUX_EFI_INITRD_MEDIA_GUID
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 26 Feb 2020 19:43:38 +0000 (20:43 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 4 Mar 2020 09:26:45 +0000 (09:26 +0000)
Add LINUX_EFI_INITRD_MEDIA_GUID to our collection of GUID definitions,
it can be used in a media device path to specify a Linux style initrd
that can be loaded by the OS using the LoadFile2 protocol.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2564
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
OvmfPkg/Include/Guid/LinuxEfiInitrdMedia.h [new file with mode: 0644]
OvmfPkg/OvmfPkg.dec

diff --git a/OvmfPkg/Include/Guid/LinuxEfiInitrdMedia.h b/OvmfPkg/Include/Guid/LinuxEfiInitrdMedia.h
new file mode 100644 (file)
index 0000000..83fc3fc
--- /dev/null
@@ -0,0 +1,17 @@
+/** @file\r
+  GUID definition for the Linux Initrd media device path\r
+\r
+  Copyright (c) 2020, Arm, Ltd. All rights reserved.<BR>\r
+\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
+**/\r
+\r
+#ifndef LINUX_EFI_INITRD_MEDIA_GUID_H__\r
+#define LINUX_EFI_INITRD_MEDIA_GUID_H__\r
+\r
+#define LINUX_EFI_INITRD_MEDIA_GUID \\r
+  {0x5568e427, 0x68fc, 0x4f3d, {0xac, 0x74, 0xca, 0x55, 0x52, 0x31, 0xcc, 0x68}}\r
+\r
+extern EFI_GUID gLinuxEfiInitrdMediaGuid;\r
+\r
+#endif\r
index 30faecb7a5c8bd0e206f4563cf48203d59a5def9..43d16372a27064d473eda760f78c993a236aa737 100644 (file)
@@ -86,6 +86,7 @@
   gMicrosoftVendorGuid                = {0x77fa9abd, 0x0359, 0x4d32, {0xbd, 0x60, 0x28, 0xf4, 0xe7, 0x8f, 0x78, 0x4b}}\r
   gEfiLegacyBiosGuid                  = {0x2E3044AC, 0x879F, 0x490F, {0x97, 0x60, 0xBB, 0xDF, 0xAF, 0x69, 0x5F, 0x50}}\r
   gEfiLegacyDevOrderVariableGuid      = {0xa56074db, 0x65fe, 0x45f7, {0xbd, 0x21, 0x2d, 0x2b, 0xdd, 0x8e, 0x96, 0x52}}\r
+  gLinuxEfiInitrdMediaGuid            = {0x5568e427, 0x68fc, 0x4f3d, {0xac, 0x74, 0xca, 0x55, 0x52, 0x31, 0xcc, 0x68}}\r
 \r
 [Ppis]\r
   # PPI whose presence in the PPI database signals that the TPM base address\r