Go to the documentation of this file.
42 #include <sys/signal.h>
59 #include "debug/GDBAcc.hh"
67 using namespace X86ISA;
70 BaseRemoteGDB(_system, _port), regCache32(this), regCache64(this)
77 Walker *walker =
dynamic_cast<MMU *
>(
86 if ((
va & ~
mask(logBytes)) == (endVa & ~
mask(logBytes)))
89 fault = walker->startFunctional(
context(), endVa, logBytes,
109 panic(
"Unrecognized workload arch %s.",
127 DPRINTF(GDBAcc,
"getRegs in remotegdb \n");
157 DPRINTF(GDBAcc,
"getRegs in remotegdb \n");
179 DPRINTF(GDBAcc,
"setRegs in remotegdb \n");
199 warn(
"Remote gdb: Ignoring update to CS.\n");
201 warn(
"Remote gdb: Ignoring update to SS.\n");
203 warn(
"Remote gdb: Ignoring update to DS.\n");
205 warn(
"Remote gdb: Ignoring update to ES.\n");
207 warn(
"Remote gdb: Ignoring update to FS.\n");
209 warn(
"Remote gdb: Ignoring update to GS.\n");
215 DPRINTF(GDBAcc,
"setRegs in remotegdb \n");
227 warn(
"Remote gdb: Ignoring update to CS.\n");
229 warn(
"Remote gdb: Ignoring update to SS.\n");
231 warn(
"Remote gdb: Ignoring update to DS.\n");
233 warn(
"Remote gdb: Ignoring update to ES.\n");
235 warn(
"Remote gdb: Ignoring update to FS.\n");
237 warn(
"Remote gdb: Ignoring update to GS.\n");
constexpr RegId R14(IntRegClass, _R14Idx)
Addr instAddr() const
Returns the memory address of the instruction this PC points to.
BaseGdbRegCache * gdbRegs()
constexpr decltype(nullptr) NoFault
RemoteGDB(System *system, int _port)
virtual RegVal getReg(const RegId ®) const
virtual BaseMMU * getMMUPtr()=0
virtual const PCStateBase & pcState() const =0
Workload * workload
OS kernel.
const Entry * lookup(Addr vaddr)
Lookup function.
bool acc(Addr addr, size_t len)
virtual loader::Arch getArch() const =0
constexpr uint64_t mask(unsigned nbits)
Generate a 64-bit mask of 'nbits' 1s, right justified.
constexpr RegId R10(IntRegClass, _R10Idx)
SPARC64GdbRegCache regCache64
ThreadContext is the external interface to all thread state for anything outside of the CPU.
std::shared_ptr< FaultBase > Fault
EmulationPageTable * pTable
constexpr RegId R8(IntRegClass, _R8Idx)
SPARCGdbRegCache regCache32
constexpr RegId R11(IntRegClass, _R11Idx)
constexpr RegId R9(IntRegClass, _R9Idx)
const char * archToString(Arch arch)
virtual RegVal readMiscRegNoEffect(RegIndex misc_reg) const =0
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
virtual Process * getProcessPtr()=0
bool FullSystem
The FullSystem variable can be used to determine the current mode of simulation.
constexpr RegId R15(IntRegClass, _R15Idx)
virtual void setMiscReg(RegIndex misc_reg, RegVal val)=0
ThreadContext * context()
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
constexpr RegId R12(IntRegClass, _R12Idx)
constexpr RegId R13(IntRegClass, _R13Idx)
#define panic(...)
This implements a cprintf based panic() function.
virtual void setReg(const RegId ®, RegVal val)
Generated on Thu Jul 28 2022 13:32:24 for gem5 by doxygen 1.8.17