summaryrefslogtreecommitdiff
path: root/Nt32Pkg/WinNtAutoScanPei
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-23 02:39:20 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-23 02:39:20 +0000
commitd73be1d1b139d08d2545cd9af612f6af4a56d044 (patch)
treefb07955d6a027b756aabdfd059d6a75e087280b3 /Nt32Pkg/WinNtAutoScanPei
parentea1ac7a0f736dfcdb43df01e87037c899693e42b (diff)
downloadedk2-platforms-d73be1d1b139d08d2545cd9af612f6af4a56d044.tar.xz
Remove BaseMemoryTest PPI and related producers and consumers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7560 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg/WinNtAutoScanPei')
-rw-r--r--Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c29
-rw-r--r--Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf3
2 files changed, 2 insertions, 30 deletions
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