\r
#include "PlatformBootManager.h"\r
\r
-\r
-EFI_GUID mUefiShellFileGuid = { 0x7C04A583, 0x9E3E, 0x4f1c, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 };\r
-\r
/**\r
Perform the platform diagnostic, such like test memory. OEM/IBV also\r
can customize this function to support specific platform diagnostic.\r
//\r
// Register UEFI Shell\r
//\r
- PlatformRegisterFvBootOption (&mUefiShellFileGuid, L"UEFI Shell", LOAD_OPTION_ACTIVE);\r
+ PlatformRegisterFvBootOption (PcdGetPtr (PcdShellFile), L"UEFI Shell", LOAD_OPTION_ACTIVE);\r
}\r
\r
/**\r