Go to the documentation of this file.
38 #ifndef __ARCH_X86_MISCREGS_HH__
39 #define __ARCH_X86_MISCREGS_HH__
630 Bitfield<18> osxsave;
875 class SegDescriptorBase
879 getter(
const uint64_t &storage)
const
881 return (
bits(storage, 63, 56) << 24) |
bits(storage, 39, 16);
885 setter(uint64_t &storage, uint32_t
base)
898 uint32_t
limit = (
bits(storage, 51, 48) << 16) |
899 bits(storage, 15, 0);
900 if (
bits(storage, 55))
910 "Inlimitid segment limit %#x",
limit);
936 Bitfield<43> codeOrData;
965 Bitfield<46, 45>
dpl;
968 Bitfield<43> codeOrData;
988 Bitfield<31, 0>
base;
999 Bitfield<11, 8>
type;
1011 Bitfield<46, 45>
dpl;
1012 Bitfield<43, 40>
type;
1013 Bitfield<36, 32>
count;
1022 Bitfield<46, 45>
dpl;
1023 Bitfield<43, 40>
type;
1056 Bitfield<51, 12>
base;
1064 #endif // __ARCH_X86_INTREGS_HH__
@ MISCREG_MTRR_PHYS_MASK_4
@ MISCREG_PERF_EVT_CTR_BASE
@ MISCREG_MTRR_PHYS_BASE_2
@ MISCREG_LAST_EXCEPTION_TO_IP
static MiscRegIndex MISCREG_SEG_SEL(int index)
@ MISCREG_MTRR_PHYS_MASK_7
@ MISCREG_MTRR_PHYS_BASE_7
@ MISCREG_MTRR_PHYS_BASE_1
@ MISCREG_MTRR_FIX_4K_F8000
static bool isValidMiscReg(int index)
static MiscRegIndex MISCREG_MC_ADDR(int index)
@ MISCREG_MTRR_FIX_4K_E8000
@ MISCREG_MTRR_FIX_4K_E0000
static MiscRegIndex MISCREG_SEG_LIMIT(int index)
static MiscRegIndex MISCREG_SEG_ATTR(int index)
constexpr void replaceBits(T &val, unsigned first, unsigned last, B bit_val)
A convenience function to replace bits first to last of val with bit_val in place.
@ MISCREG_MTRR_FIX_4K_C0000
@ MISCREG_MTRR_PHYS_MASK_3
@ MISCREG_MTRR_PHYS_MASK_BASE
@ MISCREG_MTRR_PHYS_MASK_END
static MiscRegIndex MISCREG_IORR_MASK(int index)
Bitfield< 10 > osxmmexcpt
Bitfield< 3 > defaultSize
static MiscRegIndex MISCREG_MC_CTL(int index)
@ MISCREG_MTRR_FIX_4K_D8000
BitfieldType< SegDescriptorLimit > limit
static MiscRegIndex MISCREG_MTRR_PHYS_MASK(int index)
void setter(uint64_t &storage, uint32_t limit)
Bitfield< 13, 12 > defAddr
@ MISCREG_MTRR_FIX_4K_F0000
static MiscRegIndex MISCREG_PERF_EVT_SEL(int index)
Bitfield< 15, 14 > altAddr
static MiscRegIndex MISCREG_PERF_EVT_CTR(int index)
@ MISCREG_MTRR_PHYS_BASE_5
@ MISCREG_MTRR_PHYS_MASK_0
@ MISCREG_PERF_EVT_SEL_END
Bitfield< 56, 32 > otherInfo
@ MISCREG_MTRR_FIX_4K_D0000
@ MISCREG_LAST_BRANCH_FROM_IP
@ MISCREG_PERF_EVT_SEL_BASE
@ MISCREG_MTRR_PHYS_BASE_END
@ MISCREG_MTRR_PHYS_BASE_6
uint32_t getter(const uint64_t &storage) const
static MiscRegIndex MISCREG_CR(int index)
BitUnion64(VAddr) Bitfield< 20
@ MISCREG_PCI_CONFIG_ADDRESS
SubBitUnion(type, 43, 40) Bitfield< 43 > codeOrData
static MiscRegIndex MISCREG_MC_STATUS(int index)
constexpr T bits(T val, unsigned first, unsigned last)
Extract the bitfield from position 'first' to 'last' (inclusive) from 'val' and right justify it.
@ MISCREG_LAST_BRANCH_TO_IP
static MiscRegIndex MISCREG_SEG_BASE(int index)
@ MISCREG_MTRR_PHYS_MASK_2
@ MISCREG_MTRR_FIX_4K_C8000
@ MISCREG_MTRR_PHYS_BASE_3
Bitfield< 31, 5 > paePdtb
@ MISCREG_SEG_EFF_BASE_BASE
Bitfield< 39, 16 > baseLow
Bitfield< 14 > expandDown
Bitfield< 51, 12 > physbase
BitUnion32(TriggerIntMessage) Bitfield< 7
static MiscRegIndex MISCREG_IORR_BASE(int index)
#define panic_if(cond,...)
Conditional panic macro that checks the supplied condition and only panics if the condition is true a...
Bitfield< 63, 48 > sysretCsAndSs
@ MISCREG_MTRR_FIX_16K_A0000
static MiscRegIndex MISCREG_MC_MISC(int index)
Bitfield< 6 > granularity
@ MISCREG_MTRR_PHYS_BASE_0
static MiscRegIndex MISCREG_SEG_EFF_BASE(int index)
Bitfield< 31, 16 > selector
@ MISCREG_MTRR_PHYS_BASE_BASE
@ MISCREG_LAST_EXCEPTION_FROM_IP
@ MISCREG_MTRR_PHYS_MASK_5
Bitfield< 47, 32 > syscallCsAndSs
static MiscRegIndex MISCREG_DR(int index)
Bitfield< 51, 12 > physmask
@ MISCREG_PERF_EVT_CTR_END
Bitfield< 15, 0 > limitLow
Bitfield< 31, 24 > counterMask
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
@ MISCREG_MTRR_PHYS_MASK_1
Bitfield< 31, 16 > modelSpecificCode
Bitfield< 15, 0 > offsetLow
@ MISCREG_MTRR_FIX_16K_80000
EndBitUnion(TriggerIntMessage) GEM5_DEPRECATED_NAMESPACE(DeliveryMode
@ MISCREG_MTRR_FIX_64K_00000
Bitfield< 15, 8 > unitMask
static MiscRegIndex MISCREG_MTRR_PHYS_BASE(int index)
EndSubBitUnion(type) EndBitUnion(SegDescriptor) BitUnion64(TSSlow) Bitfield< 63
TSS Descriptor (long mode - 128 bits) the lower 64 bits.
Bitfield< 51, 48 > limitHigh
@ MISCREG_MTRR_PHYS_MASK_6
const uint32_t ccFlagMask
@ MISCREG_MTRR_PHYS_BASE_4
Generated on Tue Sep 21 2021 12:24:35 for gem5 by doxygen 1.8.17