diff options
Diffstat (limited to 'MdeModulePkg/Universal/MemoryTest')
-rw-r--r-- | MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTest.c | 7 | ||||
-rw-r--r-- | MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTestPei.inf | 1 |
2 files changed, 4 insertions, 4 deletions
diff --git a/MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTest.c b/MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTest.c index f1ab82d87a..f51869c773 100644 --- a/MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTest.c +++ b/MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTest.c @@ -20,6 +20,7 @@ Abstract: --*/
#include <BaseMemoryTest.h>
+#include <Library/PeiServicesLib.h>
static PEI_BASE_MEMORY_TEST_PPI mPeiBaseMemoryTestPpi = { BaseMemoryTest };
@@ -51,11 +52,9 @@ Returns: --*/
{
- EFI_STATUS Status;
- Status = (**PeiServices).InstallPpi (PeiServices, &PpiListPeiBaseMemoryTest);
-
- return Status;
+ return PeiServicesInstallPpi (&PpiListPeiBaseMemoryTest);
+
}
EFI_STATUS
diff --git a/MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTestPei.inf b/MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTestPei.inf index c0b2f87d68..5a410e20c3 100644 --- a/MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTestPei.inf +++ b/MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTestPei.inf @@ -39,6 +39,7 @@ ReportStatusCodeLib
PeimEntryPoint
DebugLib
+ PeiServicesLib
[Ppis]
gPeiBaseMemoryTestPpiGuid # PPI ALWAYS_PRODUCED
|