[gem5-users] Need help in building gem5

2020-10-24 Thread Shivakumar,Raghul via gem5-users
Hello All, I am trying to build gem5. I cloned the "stable" branch of gem5 from Github. I am getting below errors when trying to build. What is wrong with my build process? I was able to successfully build gem5 2 months ago, but now I am getting these errors. GCC - 5.2.0 SCONS - 3.1.2 [cid:image

[gem5-users] Re: track the write syscall in the kernel

2020-10-24 Thread Matt Sinclair via gem5-users
Assuming you are asking about SE mode, I think this is what you are looking for: https://gem5.googlesource.com/public/gem5/+/refs/heads/develop/src/sim/syscall_emul.hh#2412 ? Matt On Sat, Oct 24, 2020 at 4:00 PM ABD ALRHMAN ABO ALKHEEL via gem5-users < gem5-users@gem5.org> wrote: > Hi All; > > I

[gem5-users] track the write syscall in the kernel

2020-10-24 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All; I want to track the write syscall in order to do some calculations on the written bytes. I just want to know what is the function that does write syscall function and how I can the written bytes from it. Any help would be appreciated. Thanks https://github.com/torvalds/linux/blob/mast

[gem5-users] MMIO address range check in allocPhysPages in System

2020-10-24 Thread Tapojyoti Mandal via gem5-users
Hi, I am trying to do a custom method of allocating physical address. I found that allocPhysPages(int npages) is the one which handles allocating new pages. In this function there is this following section of code which check if the physical addr provided is in MMIO region or not: AddrRange m5o

[gem5-users] Re: How to run Python code with TensorFlow in Gem5 syscall emulation mode?

2020-10-24 Thread Dimitrios Chasapis via gem5-users
Hi, I have been running keras (python interface for tensorflow)  in Gem5.  If I understand correctly you want to run a python script in Gem5 from a C++ source file, correct?  Gem5 already uses pytbind11 (which is a header's only library simplifying embedding python code in C++ and vice versa)

[gem5-users] Cache-line contains both instructions and data?

2020-10-24 Thread Derrick.Greenspan via gem5-users
Hello everyone, Bear with me here, as this is a complicated question: I am porting a memory system simulator originally developed as an extension to Multi2Sim to Gem5. Until now, all was more-or-less straightforward in the porting process. However, for the past three months, I've been fighting