Hi, after loading the checkpoint of workload
workloads/cassandra/1cpu/baseline/phase_000/simics/1s-4gb-2c-4gb , I want to
add the ruby module, so I do as the gems wiki says:
instruction-fetch-mode instruction-fetch-trace
istc-disable
dstc-disable
cpu-switch-time 1
load-module ruby
and, then problem comes, can't find the physmem.
so I modify in gems/ruby/ruby.c ,"phys_mem0 = SIM_get_object("phys_mem0");
"――>"phys_mem0 = SIM_get_object("client_phys_mem"); "
and then I can load the ruby
but after ruby0.init, continue to run simics, it gets a fault:
simics> c
Segmentation fault (SIGSEGV) in main thread
The simulation state has been corrupted. Simulation cannot continue.
Please restart Simics.
[client_cpu0] v:0x0000000001064ee8 p:0x00007c64ee8 nop
Setting new inspection cpu: client_cpu0
so I wanna know what the phys_mem0 present? which memory space should choose,
client_phys_mem? server_phys_mem? or others?
Look forward your reply.
Best regards!
zhangwuxiang