[gem5-users] Re: How to make _addr version of m5 ops work on x86+syscall emulation?

2022-05-12 Thread Pedro Henrique Exenberger Becker
Thanks Jason, for the quick reply. I was using SE just to do tests faster. I guess doing it in FS from scratch will solve both issues I have. I'll try that. Again, thank you. Em qui, 12 de mai de 2022 17:16, Jason Lowe-Power escreveu: > Hello, > > In the first case, since you're using SE

[gem5-users] Re: How to make _addr version of m5 ops work on x86+syscall emulation?

2022-05-12 Thread Jason Lowe-Power
Hello, In the first case, since you're using SE mode, gem5 is trying to use /dev/mem *on your host*, not on the guest. The addr interface for the m5 ops is really meant for FS mode, not SE mode. In the second case, this is probably because KVM + SE mode is rarely, if ever, tested. I'm not

[gem5-users] How to make _addr version of m5 ops work on x86+syscall emulation?

2022-05-12 Thread pedro
Hi all, I'm trying to run **_addr** **m5ops**. I need the _addr version because I want to implement a pseudo instruction that works in all gem5 cpu types, including KVM, which only supports _addr pseudo instructions. If I use this code