31 #ifndef __ARCH_X86_REG_MSR_HH__
32 #define __ARCH_X86_REG_MSR_HH__
34 #include <unordered_map>
42 typedef std::unordered_map<Addr, MiscRegIndex>
MsrMap;
68 #endif // __ARCH_X86_REG_MSR_HH__
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,16,32,64}_t.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
bool msrAddrToIndex(MiscRegIndex ®Num, Addr addr)
Find and return the misc reg corresponding to an MSR address.
const MsrMap msrMap
Map between MSR addresses and their corresponding misc registers.
std::unordered_map< Addr, MiscRegIndex > MsrMap