sim-se: Add special paths for MPI, libnuma, ROCm support
authorMatthew Poremba <matthew.poremba@amd.com>
Thu, 13 Feb 2020 19:27:07 +0000 (11:27 -0800)
committerMatthew Poremba <matthew.poremba@amd.com>
Wed, 25 Mar 2020 21:55:21 +0000 (21:55 +0000)
commit209c0663d54dd5b734ea9bd397246d9d36149b1b
treed53323de76c62071c01ad0ec0024b400fab8e4c2
parent20189987ef5855284c941883e00fda602bf84377
sim-se: Add special paths for MPI, libnuma, ROCm support

Add new pseudo files which are read by various runtime libraries
including MPI, libnuma, and ROCm. New paths include /proc/self/maps,
/dev/urandom, and /sys/devices/system/cpu/online.

Change-Id: I00a82788cff9d6f4f16fc56230b18be9b76c4015
Signed-off-by: Brandon Potter <Brandon.Potter@amd.com>
Signed-off-by: Michael LeBeane <Michael.Lebeane@amd.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/25367
Tested-by: Gem5 Cloud Project GCB service account <345032938727@cloudbuild.gserviceaccount.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
src/kern/linux/linux.cc
src/kern/linux/linux.hh
src/sim/mem_state.cc
src/sim/mem_state.hh
src/sim/syscall_emul.hh