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:
@ -1,6 +1,6 @@
|
|||||||
/** @file
|
/** @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
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
|
|
||||||
@ -677,10 +677,12 @@ GenMemoryTestFinished (
|
|||||||
Private = GENERIC_MEMORY_TEST_PRIVATE_FROM_THIS (This);
|
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);
|
if (Private->CoverLevel != IGNORE) {
|
||||||
ASSERT_EFI_ERROR (Status);
|
Status = PerformAddressDataLineTest (Private);
|
||||||
|
ASSERT_EFI_ERROR (Status);
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Add the non tested memory range to system memory map through GCD service
|
// Add the non tested memory range to system memory map through GCD service
|
||||||
|
Reference in New Issue
Block a user