mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 08:04:07 +02:00
MdePkg: Define 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:
parent
b538d6a1b1
commit
6fd2d58d5d
@ -56,14 +56,11 @@ typedef enum {
|
|||||||
/// system. If all memory has the same reliability, then this bit is not used.
|
/// system. If all memory has the same reliability, then this bit is not used.
|
||||||
///
|
///
|
||||||
EfiGcdMemoryTypeMoreReliable,
|
EfiGcdMemoryTypeMoreReliable,
|
||||||
// ///
|
///
|
||||||
// /// A memory region that describes system memory that has not been accepted
|
/// A memory region that describes system memory that has not been accepted
|
||||||
// /// by a corresponding call to the underlying isolation architecture.
|
/// by a corresponding call to the underlying isolation architecture.
|
||||||
// ///
|
///
|
||||||
// /// Please be noted:
|
EfiGcdMemoryTypeUnaccepted,
|
||||||
// /// EfiGcdMemoryTypeUnaccepted is defined in PrePiDxeCis.h because it has not been
|
|
||||||
// /// defined in PI spec.
|
|
||||||
// EfiGcdMemoryTypeUnaccepted,
|
|
||||||
EfiGcdMemoryTypeMaximum = 7
|
EfiGcdMemoryTypeMaximum = 7
|
||||||
} EFI_GCD_MEMORY_TYPE;
|
} EFI_GCD_MEMORY_TYPE;
|
||||||
|
|
||||||
|
@ -232,16 +232,8 @@ typedef UINT32 EFI_RESOURCE_TYPE;
|
|||||||
#define EFI_RESOURCE_MEMORY_MAPPED_IO_PORT 0x00000004
|
#define EFI_RESOURCE_MEMORY_MAPPED_IO_PORT 0x00000004
|
||||||
#define EFI_RESOURCE_MEMORY_RESERVED 0x00000005
|
#define EFI_RESOURCE_MEMORY_RESERVED 0x00000005
|
||||||
#define EFI_RESOURCE_IO_RESERVED 0x00000006
|
#define EFI_RESOURCE_IO_RESERVED 0x00000006
|
||||||
//
|
#define EFI_RESOURCE_MEMORY_UNACCEPTED 0x00000007
|
||||||
// BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED is defined for unaccepted memory.
|
#define EFI_RESOURCE_MAX_MEMORY_TYPE 0x00000008
|
||||||
// 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 and update EFI_RESOURCE_MAX_MEMORY_TYPE
|
|
||||||
// to 8. After BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED is officially published
|
|
||||||
// in PI spec, we will re-visit here.
|
|
||||||
//
|
|
||||||
// #define BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED 0x00000007
|
|
||||||
#define EFI_RESOURCE_MAX_MEMORY_TYPE 0x00000008
|
|
||||||
|
|
||||||
///
|
///
|
||||||
/// A type of recount attribute type.
|
/// A type of recount attribute type.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user