diff options
author | Steve Reinhardt <Steve.Reinhardt@amd.com> | 2008-11-15 09:30:10 -0800 |
---|---|---|
committer | Steve Reinhardt <Steve.Reinhardt@amd.com> | 2008-11-15 09:30:10 -0800 |
commit | 4514f565e3dfe1de41bbaec05f3f0074e5299bac (patch) | |
tree | e70dc0c3c09f7b035a7c33c69b98562a6c198a23 /src/arch/sparc/solaris | |
parent | ba8936120e4de7a4cdf6093a0e0cb04e0d1b8a59 (diff) | |
download | gem5-4514f565e3dfe1de41bbaec05f3f0074e5299bac.tar.xz |
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.
Diffstat (limited to 'src/arch/sparc/solaris')
-rw-r--r-- | src/arch/sparc/solaris/process.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/sparc/solaris/process.cc b/src/arch/sparc/solaris/process.cc index e0c3eaa4b..e4f6b23c8 100644 --- a/src/arch/sparc/solaris/process.cc +++ b/src/arch/sparc/solaris/process.cc @@ -80,7 +80,7 @@ SyscallDesc SparcSolarisProcess::syscallDescs[] = { /* 14 */ SyscallDesc("mknod", unimplementedFunc), /* 15 */ SyscallDesc("chmod", chmodFunc<Solaris>), /* 16 */ SyscallDesc("chown", chownFunc), - /* 17 */ SyscallDesc("brk", obreakFunc), + /* 17 */ SyscallDesc("brk", brkFunc), /* 18 */ SyscallDesc("stat", unimplementedFunc), /* 19 */ SyscallDesc("lseek", lseekFunc), /* 20 */ SyscallDesc("getpid", getpidFunc), |