syscalls: fix latent brk/obreak bug.
authorSteve Reinhardt <Steve.Reinhardt@amd.com>
Sat, 15 Nov 2008 17:30:10 +0000 (09:30 -0800)
committerSteve Reinhardt <Steve.Reinhardt@amd.com>
Sat, 15 Nov 2008 17:30:10 +0000 (09:30 -0800)
commit4514f565e3dfe1de41bbaec05f3f0074e5299bac
treee70dc0c3c09f7b035a7c33c69b98562a6c198a23
parentba8936120e4de7a4cdf6093a0e0cb04e0d1b8a59
syscalls: fix latent brk/obreak bug.
Bogus calls to ChunkGenerator with negative size were triggering
a new assertion that was added there.
Also did a little renaming and cleanup in the process.
src/arch/alpha/linux/process.cc
src/arch/alpha/tru64/process.cc
src/arch/mips/linux/process.cc
src/arch/sparc/linux/syscalls.cc
src/arch/sparc/solaris/process.cc
src/arch/x86/linux/syscalls.cc
src/mem/page_table.hh
src/sim/syscall_emul.cc
src/sim/syscall_emul.hh