Skip to content

Commit

Permalink
MdePkg/ArchitecturalMsr.h: add #defines for MTRR cache types
Browse files Browse the repository at this point in the history
Signed-off-by: Gerd Hoffmann <[email protected]>
  • Loading branch information
kraxel authored and mergify[bot] committed Jun 26, 2024
1 parent ce4c76e commit 5bef25d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions MdePkg/Include/Register/Intel/ArchitecturalMsr.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5bef25d

Please sign in to comment.