mirror of https://github.com/acidanthera/audk.git
MdeModulePkg: Perform test only if not ignore memory test
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2463 Perform Data and Address line test only if not ignore memory test. Signed-off-by: Heng Luo <heng.luo@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
This commit is contained in:
parent
a9e3458ba7
commit
f469c70281
|
@ -1,6 +1,6 @@
|
|||
/** @file
|
||||
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
|
@ -677,10 +677,12 @@ GenMemoryTestFinished (
|
|||
Private = GENERIC_MEMORY_TEST_PRIVATE_FROM_THIS (This);
|
||||
|
||||
//
|
||||
// Perform Data and Address line test
|
||||
// Perform Data and Address line test only if not ignore memory test
|
||||
//
|
||||
Status = PerformAddressDataLineTest (Private);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
if (Private->CoverLevel != IGNORE) {
|
||||
Status = PerformAddressDataLineTest (Private);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
}
|
||||
|
||||
//
|
||||
// Add the non tested memory range to system memory map through GCD service
|
||||
|
|
Loading…
Reference in New Issue