syscall emul: fix Power Linux mmap constant, plus other cleanup
authorSteve Reinhardt <steve.reinhardt@amd.com>
Mon, 23 May 2011 21:29:23 +0000 (14:29 -0700)
committerSteve Reinhardt <steve.reinhardt@amd.com>
Mon, 23 May 2011 21:29:23 +0000 (14:29 -0700)
commit8d29bda74211f4ff1804aeeb05b2795b549036f7
treeddf4ed45b6f56efab93e27812f1fca0eb3cbfece
parent19bb896bfeffc0b49197f5b2d8395a6ee4c5e94d
syscall emul: fix Power Linux mmap constant, plus other cleanup

We were getting a spurious warning in the regressions that turned
out to be due to having the wrong value for TGT_MAP_ANONYMOUS for
Power Linux, but in the process of tracking it down I ended up
doing some cleanup of the mmap handling in general.
src/arch/power/linux/linux.hh
src/sim/process.cc
src/sim/syscall_emul.hh