[gem5-dev] memory change during system call emulation

2015-01-22 Thread Meng Wang via gem5-dev
Hello, I am writing a trace probe for AtomicSimpleCPU. The simulation is planed to run in SE mode. For user-level instruction, I can get address and data of memory access by *traceData* member in BasicSimpleCPU. But for system call, I don't know how to collect the memory change during the syscall e

[gem5-dev] get vfp/simd register value in ARMv8 simulation

2015-01-22 Thread Meng Wang via gem5-dev
Hello, I'm trying to get the vfp/simd register values during simulation. I find a clue in src/cpu/simple_thread.hh, there defined an array `FloatReg f[TheISA::NumFloatRegs];`. Also I checked ArmISA::NumFloatRegs value. It's 160. Can I get V0-V31 register values by reading the FloatReg array? Also,