How can I share a variable between multicores in GEM5. (I'm simulating RISCV- Cores)
I can see that each core allocates different VPN to PFN translation.
So even if I explicitly assign a memory address to a variable (i.e. char*arr = 0x20010 then dereference it later) it will be in different physical memory location for each core.
Do you have an idea how to do it from the source code?
Thank you.
|
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org