MdeModulePkg: Use newly defined Unaccepted Memory Type
EFI_RESOURCE_MEMORY_UNACCEPTED has been officially defined in the PI 1.8 specification. So all temporary solutions have been replaced with the actual definition. Cc: Felix Polyudov <felixp@ami.com> Cc: Dhanaraj V <vdhanaraj@ami.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Sachin Ganesh <sachinganesh@ami.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
committed by
mergify[bot]
parent
6fd2d58d5d
commit
09340de246
@@ -1,25 +0,0 @@
|
||||
/** @file
|
||||
Include file matches things in PI.
|
||||
|
||||
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
#ifndef MDE_MODULEPKG_PRE_PI_DXE_CIS_H_
|
||||
#define MDE_MODULEPKG_PRE_PI_DXE_CIS_H_
|
||||
|
||||
///
|
||||
/// A memory region that describes system memory that has not been accepted
|
||||
/// by a corresponding call to the underlying isolation architecture.
|
||||
///
|
||||
/// This memory region has not been defined in PI spec, so it is defined in
|
||||
/// PrePiDxeCis.h. And it is defined in the format of captial letters
|
||||
/// because only capital letters are allowed to be used for #define declarations.
|
||||
///
|
||||
/// After this memory region is defined in PI spec, it should be a value in
|
||||
/// EFI_GCD_MEMORY_TYPE in PiDxeCis.h.
|
||||
///
|
||||
#define EFI_GCD_MEMORY_TYPE_UNACCEPTED 6
|
||||
|
||||
#endif
|
@@ -1,20 +0,0 @@
|
||||
/** @file
|
||||
HOB related definitions which has not been officially published in PI.
|
||||
|
||||
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
#ifndef MDE_MODULEPKG_PRE_PI_HOB_H_
|
||||
#define MDE_MODULEPKG_PRE_PI_HOB_H_
|
||||
|
||||
//
|
||||
// BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED is defined for unaccepted memory.
|
||||
// But this defitinion has not been officially in the PI spec. Base
|
||||
// on the code-first we define BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED at
|
||||
// MdeModulePkg/Include/Pi/PrePiHob.h.
|
||||
//
|
||||
#define BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED 0x00000007
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user