diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-04-30 01:46:00 -0400 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-04-30 01:46:00 -0400 |
commit | a8fbc4ec76169a6d735817df2aa8bc2085df5ac8 (patch) | |
tree | 72e8e89ef256a116d483cb15124dc0ba8c8f3b18 /arch/sparc/linux/process.cc | |
parent | 6a2e0388cf04fbdac68ed9543e4573a13c7f9b17 (diff) | |
download | gem5-a8fbc4ec76169a6d735817df2aa8bc2085df5ac8.tar.xz |
Got hello world to work!
arch/sparc/isa/decoder.isa:
Made sure if a register was assigned to along some control path, then all paths on which no exception would block commit set a value as well. Also, Rs1 is treated as signed for bpr instructions.
arch/sparc/isa/formats/integerop.isa:
Added an IntOpImm11 class which sign extends the SIMM11 immediate field.
arch/sparc/isa/formats/mem.isa:
Fixed how offsets are used, and how disassembly is generated.
arch/sparc/linux/process.cc:
Added fstat and exit_group syscalls.
--HG--
extra : convert_revision : 3b4427d239d254a92179a4137441125b8a364264
Diffstat (limited to 'arch/sparc/linux/process.cc')
-rw-r--r-- | arch/sparc/linux/process.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/linux/process.cc b/arch/sparc/linux/process.cc index 4818f1fcc..71be6a83a 100644 --- a/arch/sparc/linux/process.cc +++ b/arch/sparc/linux/process.cc @@ -155,7 +155,7 @@ SyscallDesc SparcLinuxProcess::syscallDescs[] = { /* 59 */ SyscallDesc("execve", unimplementedFunc), /* 60 */ SyscallDesc("umask", unimplementedFunc), /* 61 */ SyscallDesc("chroot", unimplementedFunc), - /* 62 */ SyscallDesc("fstat", unimplementedFunc), + /* 62 */ SyscallDesc("fstat", fstatFunc<SparcLinux>), /* 63 */ SyscallDesc("fstat64", unimplementedFunc), /* 64 */ SyscallDesc("getpagesize", unimplementedFunc), /* 65 */ SyscallDesc("msync", unimplementedFunc), @@ -281,7 +281,7 @@ SyscallDesc SparcLinuxProcess::syscallDescs[] = { /* 185 */ SyscallDesc("setpgid", unimplementedFunc), /* 186 */ SyscallDesc("fremovexattr", unimplementedFunc), /* 187 */ SyscallDesc("tkill", unimplementedFunc), - /* 188 */ SyscallDesc("exit_group", unimplementedFunc), + /* 188 */ SyscallDesc("exit_group", exitFunc), /* 189 */ SyscallDesc("uname", unameFunc), /* 190 */ SyscallDesc("init_module", unimplementedFunc), /* 191 */ SyscallDesc("personality", unimplementedFunc), |