gem5 v24.0.0.0
|
Public Member Functions | |
Registers (const std::string &, Iris::BaseCPU *, CorePins *) | |
Public Member Functions inherited from gem5::RegisterBank< ByteOrder::little > | |
void | setDebugFlag (const ::gem5::debug::SimpleFlag &flag) |
constexpr | RegisterBank (const std::string &new_name, Addr new_base) |
virtual | ~RegisterBank () |
void | addRegisters (std::initializer_list< RegisterAdder > adders) |
void | addRegistersAt (std::initializer_list< RegisterAdder > adders) |
void | addRegister (RegisterAdder reg) |
Addr | base () const |
Addr | size () const |
const std::string & | name () const |
virtual void | read (Addr addr, void *buf, Addr bytes) |
virtual void | write (Addr addr, const void *buf, Addr bytes) |
virtual void | reset () |
Private Attributes | |
Iris::BaseCPU * | cpu |
CorePins * | pins |
Register64 | nsrvbar |
Register64 | rvbar |
Register32 | reset |
Register32 | halt |
Additional Inherited Members | |
Public Types inherited from gem5::RegisterBank< ByteOrder::little > | |
using | Register8 |
using | Register8LE |
using | Register8BE |
using | Register16 |
using | Register16LE |
using | Register16BE |
using | Register32 |
using | Register32LE |
using | Register32BE |
using | Register64 |
using | Register64LE |
using | Register64BE |
Static Public Member Functions inherited from gem5::RegisterBank< ByteOrder::little > | |
static constexpr Data | readWithMask (const Data &value, const Data &bitmask) |
static constexpr Data | writeWithMask (const Data &old, const Data &value, const Data &bitmask) |
Definition at line 57 of file example.hh.
gem5::fastmodel::ResetControllerExample::Registers::Registers | ( | const std::string & | module_name, |
Iris::BaseCPU * | c, | ||
CorePins * | p ) |
Definition at line 44 of file example.cc.
References gem5::RegisterBank< ByteOrder::little >::addRegisters(), cpu, gem5::fastmodel::ResetControllerExample::CorePins::halt, halt, gem5::Port::isConnected(), gem5::Port::name(), nsrvbar, panic_if, pins, gem5::X86ISA::reg, gem5::fastmodel::ResetControllerExample::CorePins::reset, reset, rvbar, gem5::SignalSourcePort< State >::set(), gem5::Iris::BaseCPU::setResetAddr(), and gem5::X86ISA::val.
|
private |
Definition at line 60 of file example.hh.
Referenced by Registers().
|
private |
Definition at line 66 of file example.hh.
Referenced by Registers().
|
private |
Definition at line 63 of file example.hh.
Referenced by Registers().
|
private |
Definition at line 61 of file example.hh.
Referenced by Registers().
|
private |
Definition at line 65 of file example.hh.
Referenced by Registers().
|
private |
Definition at line 64 of file example.hh.
Referenced by Registers().