[gem5-users] Question about changing PrivilegeMode

2023-08-14 Thread via gem5-users
Hi everyone, I ran the following program which simply reads the value of MiscReg (mhartid, mstatus, ...), https://pastebin.com/t5XBBWEz. (remove line 31-32) The compilation command I used is, riscv64-unknown-elf-gcc -static hello1.c -o hello1. I ran it with SE script, gem5.opt se.py -c hello1 An

[gem5-users] Does gem5 support dumping memory signature in RISCV?

2023-07-09 Thread via gem5-users
Hi everyone, I was wondering if there is an option to dump memory signature like other RISCV simulators, for example, "+signature=" in spike and "--test-signature=" in sail. The output of the signature file is something like this: e7d4b281 6f5ca309 c004 I've search through