Go to the documentation of this file.
38 #ifndef __ARCH_X86_MISCREGS_HH__
39 #define __ARCH_X86_MISCREGS_HH__
624 Bitfield<18> osxsave;
869 class SegDescriptorBase
873 getter(
const uint64_t &storage)
const
875 return (
bits(storage, 63, 56) << 24) |
bits(storage, 39, 16);
879 setter(uint64_t &storage, uint32_t
base)
892 uint32_t
limit = (
bits(storage, 51, 48) << 16) |
893 bits(storage, 15, 0);
894 if (
bits(storage, 55))
904 "Inlimitid segment limit %#x",
limit);
930 Bitfield<43> codeOrData;
959 Bitfield<46, 45>
dpl;
962 Bitfield<43> codeOrData;
982 Bitfield<31, 0>
base;
993 Bitfield<11, 8>
type;
1005 Bitfield<46, 45>
dpl;
1006 Bitfield<43, 40>
type;
1007 Bitfield<36, 32>
count;
1016 Bitfield<46, 45>
dpl;
1017 Bitfield<43, 40>
type;
1050 Bitfield<51, 12>
base;
1056 #endif // __ARCH_X86_INTREGS_HH__
@ MISCREG_MTRR_PHYS_BASE_6
@ MISCREG_MTRR_FIX_4K_D8000
static MiscRegIndex MISCREG_MTRR_PHYS_MASK(int index)
SubBitUnion(type, 43, 40) Bitfield< 43 > codeOrData
Bitfield< 51, 48 > limitHigh
BitUnion32(TriggerIntMessage) Bitfield< 7
static MiscRegIndex MISCREG_PERF_EVT_SEL(int index)
void replaceBits(T &val, int first, int last, B bit_val)
A convenience function to replace bits first to last of val with bit_val in place.
Bitfield< 15, 8 > unitMask
static MiscRegIndex MISCREG_MC_CTL(int index)
static MiscRegIndex MISCREG_IORR_MASK(int index)
@ MISCREG_MTRR_PHYS_MASK_4
static MiscRegIndex MISCREG_MC_MISC(int index)
Bitfield< 63, 48 > sysretCsAndSs
@ MISCREG_LAST_EXCEPTION_FROM_IP
static MiscRegIndex MISCREG_MC_ADDR(int index)
BitUnion64(VAddr) Bitfield< 20
void setter(uint64_t &storage, uint32_t limit)
@ MISCREG_MTRR_PHYS_MASK_3
static MiscRegIndex MISCREG_SEG_LIMIT(int index)
@ MISCREG_MTRR_FIX_16K_A0000
@ MISCREG_MTRR_PHYS_MASK_BASE
@ MISCREG_MTRR_PHYS_BASE_3
@ MISCREG_MTRR_PHYS_BASE_0
@ MISCREG_MTRR_PHYS_MASK_7
@ MISCREG_MTRR_PHYS_MASK_2
Bitfield< 3 > defaultSize
@ MISCREG_LAST_BRANCH_FROM_IP
EndSubBitUnion(type) EndBitUnion(SegDescriptor) BitUnion64(TSSlow) Bitfield< 63
TSS Descriptor (long mode - 128 bits) the lower 64 bits.
@ MISCREG_MTRR_FIX_4K_D0000
Bitfield< 6 > granularity
static MiscRegIndex MISCREG_SEG_SEL(int index)
Bitfield< 15, 0 > offsetLow
@ MISCREG_MTRR_FIX_16K_80000
@ MISCREG_MTRR_PHYS_BASE_5
@ MISCREG_MTRR_PHYS_BASE_7
@ MISCREG_SEG_EFF_BASE_BASE
Bitfield< 51, 12 > physbase
Bitfield< 51, 12 > physmask
Bitfield< 14 > expandDown
Bitfield< 15, 14 > altAddr
@ MISCREG_MTRR_PHYS_BASE_END
static MiscRegIndex MISCREG_CR(int index)
@ MISCREG_MTRR_FIX_4K_E8000
Bitfield< 31, 24 > counterMask
@ MISCREG_MTRR_FIX_64K_00000
@ MISCREG_MTRR_PHYS_MASK_6
@ MISCREG_PERF_EVT_SEL_END
const uint32_t ccFlagMask
@ MISCREG_LAST_EXCEPTION_TO_IP
Bitfield< 47, 32 > syscallCsAndSs
@ MISCREG_MTRR_FIX_4K_E0000
static bool isValidMiscReg(int index)
Bitfield< 15, 0 > limitLow
static MiscRegIndex MISCREG_SEG_ATTR(int index)
uint32_t getter(const uint64_t &storage) const
@ MISCREG_PCI_CONFIG_ADDRESS
@ MISCREG_MTRR_FIX_4K_F8000
This is exposed globally, independent of the ISA.
@ MISCREG_MTRR_FIX_4K_C0000
@ MISCREG_PERF_EVT_SEL_BASE
@ MISCREG_MTRR_FIX_4K_F0000
static MiscRegIndex MISCREG_MTRR_PHYS_BASE(int index)
static MiscRegIndex MISCREG_SEG_EFF_BASE(int index)
#define panic_if(cond,...)
Conditional panic macro that checks the supplied condition and only panics if the condition is true a...
@ MISCREG_MTRR_FIX_4K_C8000
Bitfield< 10 > osxmmexcpt
static MiscRegIndex MISCREG_MC_STATUS(int index)
EndBitUnion(TriggerIntMessage) namespace DeliveryMode
Bitfield< 31, 5 > paePdtb
@ MISCREG_MTRR_PHYS_BASE_1
@ MISCREG_LAST_BRANCH_TO_IP
static MiscRegIndex MISCREG_IORR_BASE(int index)
@ MISCREG_MTRR_PHYS_BASE_BASE
Bitfield< 31, 16 > modelSpecificCode
Bitfield< 31, 16 > selector
BitfieldType< SegDescriptorLimit > limit
static MiscRegIndex MISCREG_SEG_BASE(int index)
@ MISCREG_MTRR_PHYS_MASK_END
@ MISCREG_MTRR_PHYS_BASE_4
@ MISCREG_MTRR_PHYS_MASK_1
@ MISCREG_MTRR_PHYS_MASK_0
static MiscRegIndex MISCREG_DR(int index)
static MiscRegIndex MISCREG_PERF_EVT_CTR(int index)
@ MISCREG_PERF_EVT_CTR_END
@ MISCREG_MTRR_PHYS_BASE_2
Bitfield< 56, 32 > otherInfo
Bitfield< 13, 12 > defAddr
@ MISCREG_PERF_EVT_CTR_BASE
T bits(T val, int first, int last)
Extract the bitfield from position 'first' to 'last' (inclusive) from 'val' and right justify it.
@ MISCREG_MTRR_PHYS_MASK_5
Bitfield< 39, 16 > baseLow
Generated on Wed Sep 30 2020 14:02:00 for gem5 by doxygen 1.8.17