diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-07-26 22:04:33 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-07-26 22:04:33 -0700 |
commit | 749ed15b606d0d6d5f27277a0b7d456aa56a6ac5 (patch) | |
tree | 77c05a8ef66949213e2fcf98d2050cb69795de99 /src/arch/x86 | |
parent | 7d826f632cdffbf604661be26f5aab9fbd2466c3 (diff) | |
download | gem5-749ed15b606d0d6d5f27277a0b7d456aa56a6ac5.tar.xz |
Add functions for mmap and brk.
--HG--
extra : convert_revision : 3d0340a2aae87b3462d6562b34ac7e02c685c1ef
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/linux/syscalls.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/linux/syscalls.cc b/src/arch/x86/linux/syscalls.cc index 30cfea49d..5c756ec7f 100644 --- a/src/arch/x86/linux/syscalls.cc +++ b/src/arch/x86/linux/syscalls.cc @@ -90,10 +90,10 @@ SyscallDesc X86LinuxProcess::syscallDescs[] = { /* 6 */ SyscallDesc("lstat", unimplementedFunc), /* 7 */ SyscallDesc("poll", unimplementedFunc), /* 8 */ SyscallDesc("lseek", unimplementedFunc), - /* 9 */ SyscallDesc("mmap", unimplementedFunc), + /* 9 */ SyscallDesc("mmap", mmapFunc<X86Linux64>), /* 10 */ SyscallDesc("mprotect", unimplementedFunc), /* 11 */ SyscallDesc("munmap", unimplementedFunc), - /* 12 */ SyscallDesc("brk", unimplementedFunc), + /* 12 */ SyscallDesc("brk", obreakFunc), /* 13 */ SyscallDesc("rt_sigaction", unimplementedFunc), /* 14 */ SyscallDesc("rt_sigprocmask", unimplementedFunc), /* 15 */ SyscallDesc("rt_sigreturn", unimplementedFunc), |