gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED Struct Reference

RISC-V Register Cache Order and sizes of registers found in ext/gdb-xml/riscv.xml To add support for more CSRs: More...

Public Attributes

uint64_t gpr [int_reg::NumArchRegs]
 
uint64_t pc
 
uint64_t fpu [float_reg::NumRegs]
 
uint32_t fflags
 
uint32_t frm
 
uint32_t fcsr
 
uint32_t placeholder
 
uint64_t cycle
 
uint64_t time
 
uint64_t ustatus
 
uint64_t uie
 
uint64_t utvec
 
uint64_t uscratch
 
uint64_t uepc
 
uint64_t ucause
 
uint64_t utval
 
uint64_t uip
 
uint64_t sstatus
 
uint64_t sedeleg
 
uint64_t sideleg
 
uint64_t sie
 
uint64_t stvec
 
uint64_t scounteren
 
uint64_t sscratch
 
uint64_t sepc
 
uint64_t scause
 
uint64_t stval
 
uint64_t sip
 
uint64_t satp
 
uint64_t mvendorid
 
uint64_t marchid
 
uint64_t mimpid
 
uint64_t mhartid
 
uint64_t mstatus
 
uint64_t misa
 
uint64_t medeleg
 
uint64_t mideleg
 
uint64_t mie
 
uint64_t mtvec
 
uint64_t mcounteren
 
uint64_t mscratch
 
uint64_t mepc
 
uint64_t mcause
 
uint64_t mtval
 
uint64_t mip
 
uint64_t hstatus
 
uint64_t hedeleg
 
uint64_t hideleg
 
uint64_t hie
 
uint64_t htvec
 
uint64_t hscratch
 
uint64_t hepc
 
uint64_t hcause
 
uint64_t hbadaddr
 
uint64_t hip
 

Detailed Description

RISC-V Register Cache Order and sizes of registers found in ext/gdb-xml/riscv.xml To add support for more CSRs:

  1. Uncomment relevant lines in ext/gdb-xml/riscv-64bit-csr.xml
  2. Add register to struct below
  3. Modify RiscvGdbRegCache::getRegs and setRegs

Definition at line 159 of file remote_gdb.hh.

Member Data Documentation

◆ cycle

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::cycle

Definition at line 169 of file remote_gdb.hh.

◆ fcsr

uint32_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::fcsr

Definition at line 166 of file remote_gdb.hh.

◆ fflags

uint32_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::fflags

Definition at line 164 of file remote_gdb.hh.

◆ fpu

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::fpu[float_reg::NumRegs]

Definition at line 163 of file remote_gdb.hh.

◆ frm

uint32_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::frm

Definition at line 165 of file remote_gdb.hh.

◆ gpr

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::gpr[int_reg::NumArchRegs]

Definition at line 161 of file remote_gdb.hh.

◆ hbadaddr

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::hbadaddr

Definition at line 215 of file remote_gdb.hh.

◆ hcause

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::hcause

Definition at line 214 of file remote_gdb.hh.

◆ hedeleg

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::hedeleg

Definition at line 208 of file remote_gdb.hh.

◆ hepc

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::hepc

Definition at line 213 of file remote_gdb.hh.

◆ hideleg

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::hideleg

Definition at line 209 of file remote_gdb.hh.

◆ hie

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::hie

Definition at line 210 of file remote_gdb.hh.

◆ hip

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::hip

Definition at line 216 of file remote_gdb.hh.

◆ hscratch

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::hscratch

Definition at line 212 of file remote_gdb.hh.

◆ hstatus

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::hstatus

Definition at line 207 of file remote_gdb.hh.

◆ htvec

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::htvec

Definition at line 211 of file remote_gdb.hh.

◆ marchid

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::marchid

Definition at line 192 of file remote_gdb.hh.

◆ mcause

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::mcause

Definition at line 204 of file remote_gdb.hh.

◆ mcounteren

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::mcounteren

Definition at line 201 of file remote_gdb.hh.

◆ medeleg

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::medeleg

Definition at line 197 of file remote_gdb.hh.

◆ mepc

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::mepc

Definition at line 203 of file remote_gdb.hh.

◆ mhartid

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::mhartid

Definition at line 194 of file remote_gdb.hh.

◆ mideleg

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::mideleg

Definition at line 198 of file remote_gdb.hh.

◆ mie

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::mie

Definition at line 199 of file remote_gdb.hh.

◆ mimpid

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::mimpid

Definition at line 193 of file remote_gdb.hh.

◆ mip

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::mip

Definition at line 206 of file remote_gdb.hh.

◆ misa

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::misa

Definition at line 196 of file remote_gdb.hh.

◆ mscratch

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::mscratch

Definition at line 202 of file remote_gdb.hh.

◆ mstatus

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::mstatus

Definition at line 195 of file remote_gdb.hh.

◆ mtval

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::mtval

Definition at line 205 of file remote_gdb.hh.

◆ mtvec

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::mtvec

Definition at line 200 of file remote_gdb.hh.

◆ mvendorid

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::mvendorid

Definition at line 191 of file remote_gdb.hh.

◆ pc

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::pc

Definition at line 162 of file remote_gdb.hh.

◆ placeholder

uint32_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::placeholder

Definition at line 168 of file remote_gdb.hh.

◆ satp

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::satp

Definition at line 190 of file remote_gdb.hh.

◆ scause

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::scause

Definition at line 187 of file remote_gdb.hh.

◆ scounteren

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::scounteren

Definition at line 184 of file remote_gdb.hh.

◆ sedeleg

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::sedeleg

Definition at line 180 of file remote_gdb.hh.

◆ sepc

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::sepc

Definition at line 186 of file remote_gdb.hh.

◆ sideleg

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::sideleg

Definition at line 181 of file remote_gdb.hh.

◆ sie

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::sie

Definition at line 182 of file remote_gdb.hh.

◆ sip

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::sip

Definition at line 189 of file remote_gdb.hh.

◆ sscratch

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::sscratch

Definition at line 185 of file remote_gdb.hh.

◆ sstatus

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::sstatus

Definition at line 179 of file remote_gdb.hh.

◆ stval

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::stval

Definition at line 188 of file remote_gdb.hh.

◆ stvec

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::stvec

Definition at line 183 of file remote_gdb.hh.

◆ time

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::time

Definition at line 170 of file remote_gdb.hh.

◆ ucause

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::ucause

Definition at line 176 of file remote_gdb.hh.

◆ uepc

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::uepc

Definition at line 175 of file remote_gdb.hh.

◆ uie

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::uie

Definition at line 172 of file remote_gdb.hh.

◆ uip

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::uip

Definition at line 178 of file remote_gdb.hh.

◆ uscratch

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::uscratch

Definition at line 174 of file remote_gdb.hh.

◆ ustatus

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::ustatus

Definition at line 171 of file remote_gdb.hh.

◆ utval

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::utval

Definition at line 177 of file remote_gdb.hh.

◆ utvec

uint64_t gem5::RiscvISA::RemoteGDB::Riscv64GdbRegCache::GEM5_PACKED::utvec

Definition at line 173 of file remote_gdb.hh.


The documentation for this struct was generated from the following file:

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