Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn> > -----邮件原件----- > 发件人: ManickamX Srinivasan <manickamx.sriniva...@intel.com> > 发送时间: 2023年12月8日 13:37 > 收件人: devel@edk2.groups.io > 抄送: ManickamX Srinivasan <manickamx.sriniva...@intel.com>; Michael D > Kinney <michael.d.kin...@intel.com>; Liming Gao > <gaolim...@byosoft.com.cn>; Zhiguang Liu <zhiguang....@intel.com>; T V > Krishnamoorthy <krishnamoorthy....@intel.com> > 主题: [PATCH v3] MdePkg: Add a new memory type definition > > New memory type as defined in UEFI standard v2.10 > > Cc: Michael D Kinney <michael.d.kin...@intel.com> > Cc: Liming Gao <gaolim...@byosoft.com.cn> > Cc: Zhiguang Liu <zhiguang....@intel.com> > Cc: T V Krishnamoorthy <krishnamoorthy....@intel.com> > Signed-off-by: ManickamX Srinivasan <manickamx.sriniva...@intel.com> > --- > MdePkg/Include/Uefi/UefiSpec.h | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/MdePkg/Include/Uefi/UefiSpec.h > b/MdePkg/Include/Uefi/UefiSpec.h > index 7dfe35b499..d583ee17d0 100644 > --- a/MdePkg/Include/Uefi/UefiSpec.h > +++ b/MdePkg/Include/Uefi/UefiSpec.h > @@ -110,6 +110,21 @@ typedef enum { > // > #define EFI_MEMORY_RUNTIME 0x8000000000000000ULL > > +// > +// If this flag is set, the memory region is > +// described with additional ISA-specific memory attributes > +// as specified in EFI_MEMORY_ISA_MASK. > +// > +#define EFI_MEMORY_ISA_VALID 0x4000000000000000ULL > + > +// > +// Defines the bits reserved for describing optional ISA-specific cacheability > +// attributes that are not covered by the standard UEFI Memory Attributes > cacheability > +// bits (EFI_MEMORY_UC, EFI_MEMORY_WC, EFI_MEMORY_WT, > EFI_MEMORY_WB and EFI_MEMORY_UCE). > +// See Calling Conventions for further ISA-specific enumeration of these bits. > +// > +#define EFI_MEMORY_ISA_MASK 0x0FFFF00000000000ULL > + > // > // Attributes bitmasks, grouped by type > // > -- > 2.30.2.windows.1
-=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112344): https://edk2.groups.io/g/devel/message/112344 Mute This Topic: https://groups.io/mt/103121266/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-