Go to the documentation of this file.
38 #ifndef __ARCH_ARM_KVM_ARMV8_CPU_HH__
39 #define __ARCH_ARM_KVM_ARMV8_CPU_HH__
48 struct ArmV8KvmCPUParams;
87 void dump()
const override;
110 const char *_name,
bool _is_device =
false)
148 #endif // __ARCH_ARM_KVM_ARMV8_CPU_HH__
static const std::vector< ArmV8KvmCPU::MiscRegInfo > miscRegMap
Mapping between gem5 misc registers and registers in kvm.
MiscRegInfo(uint64_t _kvm, ArmISA::MiscRegIndex _idx, const char *_name, bool _is_device=false)
ArmISA::MiscRegIndex idx
Register index in gem5.
const std::vector< ArmV8KvmCPU::MiscRegInfo > & getSysRegMap() const
Get a map between system registers in kvm and gem5 registers.
uint64_t kvm
Register index in KVM.
This is an implementation of a KVM-based ARMv8-compatible CPU.
static const std::vector< ArmV8KvmCPU::MiscRegInfo > miscRegIdMap
Mapping between gem5 ID misc registers and registers in kvm.
void updateThreadContext() override
Update the current thread context with the KVM state.
Mapping between misc registers in gem5 and registers in KVM.
void updateKvmState() override
Update the KVM state from the current thread context.
ArmV8KvmCPU(ArmV8KvmCPUParams *params)
ArmISA::IntRegIndex idx
Register index in gem5.
void dump() const override
Dump the internal state to the terminal.
const char * name
Name to use in debug dumps.
static const std::set< ArmISA::MiscRegIndex > deviceRegSet
Device registers (needing "effectful" MiscReg writes)
const Params * params() const
IntRegInfo(uint64_t _kvm, ArmISA::IntRegIndex _idx, const char *_name)
std::vector< ArmV8KvmCPU::MiscRegInfo > sysRegMap
Cached mapping between system registers in kvm and misc regs in gem5.
uint64_t kvm
Register index in KVM.
const char * name
Name to use in debug dumps.
bool is_device
is device register? (needs 'effectful' state update)
static const std::vector< ArmV8KvmCPU::IntRegInfo > intRegMap
Mapping between gem5 integer registers and integer registers in kvm.
Mapping between integer registers in gem5 and KVM.
Generated on Wed Sep 30 2020 14:02:00 for gem5 by doxygen 1.8.17