]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: add GUID declaration for FILE_GUID of UEFI Shell app to package
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 22 Mar 2017 13:34:13 +0000 (13:34 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 22 Mar 2017 15:32:16 +0000 (15:32 +0000)
In QuarkPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManager.c,
there is a definition of mUefiShellFileGuid which is a constant reference
to the FILE_GUID as defined in ShellPkg/Application/Shell/Shell.inf.

To prevent the need for duplicating it to other modules, promote it to
a proper global GUID, and add it to the ShellPkg.dec package declaration.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
ShellPkg/Application/Shell/Shell.inf
ShellPkg/ShellPkg.dec

index a1b6a24e874bfa0b937a4e7079ca3ab6e3c3ca73..102a12e9a47b1cab1b6f8720572ed8152815e333 100644 (file)
@@ -17,7 +17,7 @@
 [Defines]\r
   INF_VERSION                    = 0x00010006\r
   BASE_NAME                      = Shell\r
-  FILE_GUID                      = 7C04A583-9E3E-4f1c-AD65-E05268D0B4D1\r
+  FILE_GUID                      = 7C04A583-9E3E-4f1c-AD65-E05268D0B4D1 # gUefiShellFileGuid\r
   MODULE_TYPE                    = UEFI_APPLICATION\r
   VERSION_STRING                 = 1.0\r
   ENTRY_POINT                    = UefiMain\r
index bb31c2df8cb33bdea0ac46035429d6e36a77e25d..3ad17a44b4473a9ab1b091c3dc31794a09a83660 100644 (file)
@@ -57,6 +57,9 @@
   gShellTftpHiiGuid               = {0x738a9314, 0x82c1, 0x4592, {0x8f, 0xf7, 0xc1, 0xbd, 0xf1, 0xb2, 0x0e, 0xd4}}\r
   gShellBcfgHiiGuid               = {0x5f5f605d, 0x1583, 0x4a2d, {0xa6, 0xb2, 0xeb, 0x12, 0xda, 0xb4, 0xa2, 0xb6}}\r
 \r
+  # FILE_GUID as defined in ShellPkg/Application/Shell/Shell.inf\r
+  gUefiShellFileGuid              = {0x7c04a583, 0x9e3e, 0x4f1c, {0xad, 0x65, 0xe0, 0x52, 0x68, 0xd0, 0xb4, 0xd1}}\r
+\r
 [Protocols]\r
   gEfiShellEnvironment2Guid           = {0x47c7b221, 0xc42a, 0x11d2, {0x8e, 0x57, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b}}\r
   gEfiShellInterfaceGuid              = {0x47c7b223, 0xc42a, 0x11d2, {0x8e, 0x57, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b}}\r