gem5
|
#include "arch/arm/kvm/armv8_cpu.hh"
#include <linux/kvm.h>
#include "debug/KvmContext.hh"
#include "params/ArmV8KvmCPU.hh"
Go to the source code of this file.
Classes | |
union | KvmFPReg |
Macros | |
#define | EXTRACT_FIELD(v, name) (((v) & name ## _MASK) >> name ## _SHIFT) |
#define | CORE_REG(name, size) |
#define | INT_REG(name) CORE_REG(name, U64) |
#define | SIMD_REG(name) CORE_REG(name, U128) |
#define | SYS_MPIDR_EL1 ARM64_SYS_REG(0b11, 0b000, 0b0000, 0b0000, 0b101) |
#define | FP_REGS_PER_VFP_REG 4 |
Functions | |
constexpr uint64_t | kvmXReg (const int num) |
constexpr uint64_t | kvmFPReg (const int num) |
Variables | |
static constexpr unsigned | NUM_XREGS = NUM_ARCH_INTREGS - 1 |
static constexpr unsigned | NUM_QREGS = NumFloatV8ArchRegs / 4 |
#define CORE_REG | ( | name, | |
size | |||
) |
Definition at line 60 of file armv8_cpu.cc.
Definition at line 57 of file armv8_cpu.cc.
Referenced by ArmV8KvmCPU::dump(), and ArmV8KvmCPU::getSysRegMap().
#define FP_REGS_PER_VFP_REG 4 |
Definition at line 98 of file armv8_cpu.cc.
Referenced by ArmV8KvmCPU::updateKvmState(), and ArmV8KvmCPU::updateThreadContext().
Definition at line 65 of file armv8_cpu.cc.
Referenced by ArmV8KvmCPU::dump(), kvmXReg(), ArmV8KvmCPU::updateKvmState(), and ArmV8KvmCPU::updateThreadContext().
Definition at line 66 of file armv8_cpu.cc.
Referenced by kvmFPReg().
#define SYS_MPIDR_EL1 ARM64_SYS_REG(0b11, 0b000, 0b0000, 0b0000, 0b101) |
Definition at line 68 of file armv8_cpu.cc.
constexpr uint64_t kvmFPReg | ( | const int | num | ) |
Definition at line 78 of file armv8_cpu.cc.
References SIMD_REG.
Referenced by ArmV8KvmCPU::dump(), ArmV8KvmCPU::updateKvmState(), and ArmV8KvmCPU::updateThreadContext().
constexpr uint64_t kvmXReg | ( | const int | num | ) |
Definition at line 71 of file armv8_cpu.cc.
References INT_REG.
Referenced by ArmV8KvmCPU::dump(), ArmV8KvmCPU::updateKvmState(), and ArmV8KvmCPU::updateThreadContext().
|
static |
Definition at line 54 of file armv8_cpu.cc.
Referenced by ArmV8KvmCPU::dump(), ArmV8KvmCPU::updateKvmState(), and ArmV8KvmCPU::updateThreadContext().
|
static |
Definition at line 49 of file armv8_cpu.cc.
Referenced by ArmV8KvmCPU::dump(), ArmV8KvmCPU::updateKvmState(), and ArmV8KvmCPU::updateThreadContext().