[gem5-users] Tracking read()/write() system calls in gem5

2020-09-22 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All, can I track the read()/write() system calls in GEM5 in SE mode? If so, how I can do that? Any help would be appreciated. Thanks ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_pag

[gem5-users] Re: Tracking read()/write() system calls in gem5

2020-09-22 Thread Jason Lowe-Power via gem5-users
See the `readFunc` and `writeFunc` implementations in sycall_emul.hh: https://gem5.googlesource.com/public/gem5/+/refs/heads/stable/src/sim/syscall_emul.hh#2454 On Tue, Sep 22, 2020 at 12:25 PM ABD ALRHMAN ABO ALKHEEL via gem5-users < gem5-users@gem5.org> wrote: > Hi All, can I track the read()/w

[gem5-users] How to initialize the the Stats:Scalar value and convert it to unsigned value

2020-09-22 Thread Shougang Yuan via gem5-users
Hi, All, I am trying to use gem5 internal scalar data type(Stats:Scalar), I tried to initialize it to a fixed value and register it in the regStats() function, but after the simulation, I found the value dumped out is 0. And also, if I want to do some calculation based on this value and convert i