summaryrefslogtreecommitdiffstats
path: root/Nt32Pkg
diff options
context:
space:
mode:
Diffstat (limited to 'Nt32Pkg')
-rw-r--r--Nt32Pkg/Nt32Pkg.dsc1
-rw-r--r--Nt32Pkg/Nt32Pkg.fdf1
-rw-r--r--Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c29
-rw-r--r--Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf3
4 files changed, 2 insertions, 32 deletions
diff --git a/Nt32Pkg/Nt32Pkg.dsc b/Nt32Pkg/Nt32Pkg.dsc
index dae2d0ab88..b892a4e594 100644
--- a/Nt32Pkg/Nt32Pkg.dsc
+++ b/Nt32Pkg/Nt32Pkg.dsc
@@ -404,7 +404,6 @@
IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.inf
Nt32Pkg/BootModePei/BootModePei.inf
Nt32Pkg/WinNtFlashMapPei/WinNtFlashMapPei.inf
- MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTestPei.inf
MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf
Nt32Pkg/WinNtFirmwareVolumePei/WinNtFirmwareVolumePei.inf
diff --git a/Nt32Pkg/Nt32Pkg.fdf b/Nt32Pkg/Nt32Pkg.fdf
index 23104f654a..db0244487a 100644
--- a/Nt32Pkg/Nt32Pkg.fdf
+++ b/Nt32Pkg/Nt32Pkg.fdf
@@ -161,7 +161,6 @@ INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.inf
INF Nt32Pkg/BootModePei/BootModePei.inf
INF Nt32Pkg/WinNtFlashMapPei/WinNtFlashMapPei.inf
-INF MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTestPei.inf
INF Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf
INF Nt32Pkg/WinNtFirmwareVolumePei/WinNtFirmwareVolumePei.inf
INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
diff --git a/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c b/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c
index 9591c39fcf..e55bc6f29b 100644
--- a/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c
+++ b/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c
@@ -27,7 +27,6 @@ Revision History
//
// The protocols, PPI and GUID defintions for this module
//
-#include <Ppi/BaseMemoryTest.h>
#include <Ppi/NtAutoscan.h>
//
// The Library classes this module consumes
@@ -62,8 +61,6 @@ Returns:
PEI_NT_AUTOSCAN_PPI *PeiNtService;
UINT64 MemorySize;
EFI_PHYSICAL_ADDRESS MemoryBase;
- PEI_BASE_MEMORY_TEST_PPI *MemoryTestPpi;
- EFI_PHYSICAL_ADDRESS ErrorAddress;
UINTN Index;
EFI_RESOURCE_ATTRIBUTE_TYPE Attributes;
@@ -81,17 +78,6 @@ Returns:
);
ASSERT_EFI_ERROR (Status);
- //
- // Get the Memory Test PPI
- //
- Status = PeiServicesLocatePpi (
- &gPeiBaseMemoryTestPpiGuid,
- 0,
- NULL,
- (VOID**)&MemoryTestPpi
- );
- ASSERT_EFI_ERROR (Status);
-
Index = 0;
do {
Status = PeiNtService->NtAutoScan (Index, &MemoryBase, &MemorySize);
@@ -108,20 +94,7 @@ Returns:
if (Index == 0) {
//
- // For the first area register it as PEI tested memory
- //
- Status = MemoryTestPpi->BaseMemoryTest (
- (EFI_PEI_SERVICES **) PeiServices,
- MemoryTestPpi,
- MemoryBase,
- MemorySize,
- Quick,
- &ErrorAddress
- );
- ASSERT_EFI_ERROR (Status);
-
- //
- // Register the "tested" memory with the PEI Core
+ // Register the memory with the PEI Core
//
Status = PeiServicesInstallPeiMemory (MemoryBase, MemorySize);
ASSERT_EFI_ERROR (Status);
diff --git a/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf b/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf
index c04d062f72..a1ed01765c 100644
--- a/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf
+++ b/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf
@@ -47,8 +47,7 @@
PeiServicesLib
[Ppis]
- gPeiBaseMemoryTestPpiGuid # PPI ALWAYS_CONSUMED
gPeiNtAutoScanPpiGuid # PPI ALWAYS_CONSUMED
[depex]
- gPeiNtAutoScanPpiGuid AND gEfiPeiMasterBootModePpiGuid AND gPeiBaseMemoryTestPpiGuid
+ gPeiNtAutoScanPpiGuid AND gEfiPeiMasterBootModePpiGuid