MdePkg/ArchitecturalMsr.h: add #defines for MTRR cache types

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann 2024-01-25 08:36:57 +01:00 committed by mergify[bot]
parent ce4c76e46d
commit 5bef25dca4

View File

@ -2103,6 +2103,13 @@ typedef union {
#define MSR_IA32_MTRR_PHYSBASE9 0x00000212
/// @}
#define MSR_IA32_MTRR_CACHE_UNCACHEABLE 0
#define MSR_IA32_MTRR_CACHE_WRITE_COMBINING 1
#define MSR_IA32_MTRR_CACHE_WRITE_THROUGH 4
#define MSR_IA32_MTRR_CACHE_WRITE_PROTECTED 5
#define MSR_IA32_MTRR_CACHE_WRITE_BACK 6
#define MSR_IA32_MTRR_CACHE_INVALID_TYPE 7
/**
MSR information returned for MSR indexes #MSR_IA32_MTRR_PHYSBASE0 to
#MSR_IA32_MTRR_PHYSBASE9