gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::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

uint32_t gpr [int_reg::NumArchRegs]
 
uint32_t pc
 
uint64_t fpu [float_reg::NumRegs]
 
uint32_t fflags
 
uint32_t frm
 
uint32_t fcsr
 
uint32_t placeholder
 
uint32_t cycle
 
uint32_t time
 
uint32_t cycleh
 
uint32_t timeh
 
uint32_t ustatus
 
uint32_t uie
 
uint32_t utvec
 
uint32_t uscratch
 
uint32_t uepc
 
uint32_t ucause
 
uint32_t utval
 
uint32_t uip
 
uint32_t sstatus
 
uint32_t sedeleg
 
uint32_t sideleg
 
uint32_t sie
 
uint32_t stvec
 
uint32_t scounteren
 
uint32_t sscratch
 
uint32_t sepc
 
uint32_t scause
 
uint32_t stval
 
uint32_t sip
 
uint32_t satp
 
uint32_t mvendorid
 
uint32_t marchid
 
uint32_t mimpid
 
uint32_t mhartid
 
uint32_t mstatus
 
uint32_t misa
 
uint32_t medeleg
 
uint32_t mideleg
 
uint32_t mie
 
uint32_t mtvec
 
uint32_t mcounteren
 
uint32_t mstatush
 
uint32_t mscratch
 
uint32_t mepc
 
uint32_t mcause
 
uint32_t mtval
 
uint32_t mip
 
uint32_t hstatus
 
uint32_t hedeleg
 
uint32_t hideleg
 
uint32_t hie
 
uint32_t htvec
 
uint32_t hscratch
 
uint32_t hepc
 
uint32_t hcause
 
uint32_t hbadaddr
 
uint32_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-32bit-csr.xml
  2. Add register to struct below
  3. Modify RiscvGdbRegCache::getRegs and setRegs

Definition at line 73 of file remote_gdb.hh.

Member Data Documentation

◆ cycle

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::cycle

Definition at line 83 of file remote_gdb.hh.

◆ cycleh

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::cycleh

Definition at line 85 of file remote_gdb.hh.

◆ fcsr

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::fcsr

Definition at line 80 of file remote_gdb.hh.

◆ fflags

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::fflags

Definition at line 78 of file remote_gdb.hh.

◆ fpu

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

Definition at line 77 of file remote_gdb.hh.

◆ frm

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::frm

Definition at line 79 of file remote_gdb.hh.

◆ gpr

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::gpr[int_reg::NumArchRegs]

Definition at line 75 of file remote_gdb.hh.

◆ hbadaddr

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::hbadaddr

Definition at line 132 of file remote_gdb.hh.

◆ hcause

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::hcause

Definition at line 131 of file remote_gdb.hh.

◆ hedeleg

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::hedeleg

Definition at line 125 of file remote_gdb.hh.

◆ hepc

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::hepc

Definition at line 130 of file remote_gdb.hh.

◆ hideleg

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::hideleg

Definition at line 126 of file remote_gdb.hh.

◆ hie

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::hie

Definition at line 127 of file remote_gdb.hh.

◆ hip

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::hip

Definition at line 133 of file remote_gdb.hh.

◆ hscratch

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::hscratch

Definition at line 129 of file remote_gdb.hh.

◆ hstatus

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::hstatus

Definition at line 124 of file remote_gdb.hh.

◆ htvec

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::htvec

Definition at line 128 of file remote_gdb.hh.

◆ marchid

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::marchid

Definition at line 108 of file remote_gdb.hh.

◆ mcause

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::mcause

Definition at line 121 of file remote_gdb.hh.

◆ mcounteren

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::mcounteren

Definition at line 117 of file remote_gdb.hh.

◆ medeleg

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::medeleg

Definition at line 113 of file remote_gdb.hh.

◆ mepc

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::mepc

Definition at line 120 of file remote_gdb.hh.

◆ mhartid

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::mhartid

Definition at line 110 of file remote_gdb.hh.

◆ mideleg

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::mideleg

Definition at line 114 of file remote_gdb.hh.

◆ mie

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::mie

Definition at line 115 of file remote_gdb.hh.

◆ mimpid

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::mimpid

Definition at line 109 of file remote_gdb.hh.

◆ mip

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::mip

Definition at line 123 of file remote_gdb.hh.

◆ misa

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::misa

Definition at line 112 of file remote_gdb.hh.

◆ mscratch

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::mscratch

Definition at line 119 of file remote_gdb.hh.

◆ mstatus

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::mstatus

Definition at line 111 of file remote_gdb.hh.

◆ mstatush

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::mstatush

Definition at line 118 of file remote_gdb.hh.

◆ mtval

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::mtval

Definition at line 122 of file remote_gdb.hh.

◆ mtvec

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::mtvec

Definition at line 116 of file remote_gdb.hh.

◆ mvendorid

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::mvendorid

Definition at line 107 of file remote_gdb.hh.

◆ pc

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::pc

Definition at line 76 of file remote_gdb.hh.

◆ placeholder

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::placeholder

Definition at line 82 of file remote_gdb.hh.

◆ satp

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::satp

Definition at line 106 of file remote_gdb.hh.

◆ scause

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::scause

Definition at line 103 of file remote_gdb.hh.

◆ scounteren

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::scounteren

Definition at line 100 of file remote_gdb.hh.

◆ sedeleg

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::sedeleg

Definition at line 96 of file remote_gdb.hh.

◆ sepc

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::sepc

Definition at line 102 of file remote_gdb.hh.

◆ sideleg

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::sideleg

Definition at line 97 of file remote_gdb.hh.

◆ sie

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::sie

Definition at line 98 of file remote_gdb.hh.

◆ sip

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::sip

Definition at line 105 of file remote_gdb.hh.

◆ sscratch

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::sscratch

Definition at line 101 of file remote_gdb.hh.

◆ sstatus

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::sstatus

Definition at line 95 of file remote_gdb.hh.

◆ stval

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::stval

Definition at line 104 of file remote_gdb.hh.

◆ stvec

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::stvec

Definition at line 99 of file remote_gdb.hh.

◆ time

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::time

Definition at line 84 of file remote_gdb.hh.

◆ timeh

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::timeh

Definition at line 86 of file remote_gdb.hh.

◆ ucause

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::ucause

Definition at line 92 of file remote_gdb.hh.

◆ uepc

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::uepc

Definition at line 91 of file remote_gdb.hh.

◆ uie

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::uie

Definition at line 88 of file remote_gdb.hh.

◆ uip

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::uip

Definition at line 94 of file remote_gdb.hh.

◆ uscratch

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::uscratch

Definition at line 90 of file remote_gdb.hh.

◆ ustatus

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::ustatus

Definition at line 87 of file remote_gdb.hh.

◆ utval

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::utval

Definition at line 93 of file remote_gdb.hh.

◆ utvec

uint32_t gem5::RiscvISA::RemoteGDB::Riscv32GdbRegCache::GEM5_PACKED::utvec

Definition at line 89 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