gem5 v24.0.0.0
Loading...
Searching...
No Matches
misc.cc File Reference
#include "arch/arm/regs/misc.hh"
#include <tuple>
#include "arch/arm/insts/misc64.hh"
#include "arch/arm/isa.hh"
#include "base/bitfield.hh"
#include "base/logging.hh"
#include "cpu/thread_context.hh"
#include "dev/arm/gic_v3_cpu_interface.hh"
#include "params/ArmISA.hh"
#include "sim/full_system.hh"

Go to the source code of this file.

Namespaces

namespace  gem5
 Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
 
namespace  gem5::ArmISA
 

Functions

MiscRegIndex gem5::ArmISA::decodeCP14Reg (unsigned crn, unsigned opc1, unsigned crm, unsigned opc2)
 
MiscRegIndex gem5::ArmISA::decodeCP15Reg (unsigned crn, unsigned opc1, unsigned crm, unsigned opc2)
 
MiscRegIndex gem5::ArmISA::decodeCP15Reg64 (unsigned crm, unsigned opc1)
 
std::tuple< bool, bool > gem5::ArmISA::canReadCoprocReg (MiscRegIndex reg, SCR scr, CPSR cpsr, ThreadContext *tc)
 Check for permission to read coprocessor registers.
 
std::tuple< bool, bool > gem5::ArmISA::canWriteCoprocReg (MiscRegIndex reg, SCR scr, CPSR cpsr, ThreadContext *tc)
 Check for permission to write coprocessor registers.
 
bool gem5::ArmISA::AArch32isUndefinedGenericTimer (MiscRegIndex reg, ThreadContext *tc)
 
int gem5::ArmISA::snsBankedIndex (MiscRegIndex reg, ThreadContext *tc)
 
int gem5::ArmISA::snsBankedIndex (MiscRegIndex reg, ThreadContext *tc, bool ns)
 
int gem5::ArmISA::snsBankedIndex64 (MiscRegIndex reg, ThreadContext *tc)
 
void gem5::ArmISA::preUnflattenMiscReg ()
 
int gem5::ArmISA::unflattenMiscReg (int reg)
 
Fault gem5::ArmISA::checkFaultAccessAArch64SysReg (MiscRegIndex reg, CPSR cpsr, ThreadContext *tc, const MiscRegOp64 &inst)
 
MiscRegIndex gem5::ArmISA::decodeAArch64SysReg (unsigned op0, unsigned op1, unsigned crn, unsigned crm, unsigned op2)
 
MiscRegIndex gem5::ArmISA::decodeAArch64SysReg (const MiscRegNum64 &sys_reg)
 
std::optional< MiscRegNum64gem5::ArmISA::encodeAArch64SysReg (MiscRegIndex misc_reg)
 
static Fault gem5::ArmISA::defaultFaultE2H_EL2 (const MiscRegLUTEntry &entry, ThreadContext *tc, const MiscRegOp64 &inst)
 
static Fault gem5::ArmISA::defaultFaultE2H_EL3 (const MiscRegLUTEntry &entry, ThreadContext *tc, const MiscRegOp64 &inst)
 
static CPSR gem5::ArmISA::resetCPSR (ArmSystem *system)
 

Variables

int gem5::ArmISA::unflattenResultMiscReg [NUM_MISCREGS]
 If the reg is a child reg of a banked set, then the parent is the last banked one in the list.
 
std::vector< struct MiscRegLUTEntrygem5::ArmISA::lookUpMiscReg (NUM_MISCREGS)
 

Generated on Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0