X86: Add a 32 bit mmap2 system call.
This commit is contained in:
parent
04dbed79f8
commit
5c1cc99d48
2 changed files with 3 additions and 1 deletions
|
@ -136,6 +136,8 @@ class X86Linux32 : public Linux
|
|||
// static const int TGT_O_RSYNC = 0x00040000; //!< O_RSYNC
|
||||
|
||||
static const int NUM_OPEN_FLAGS;
|
||||
|
||||
static const unsigned TGT_MAP_ANONYMOUS = 0x20;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -696,7 +696,7 @@ SyscallDesc I386LinuxProcess::syscallDescs[] = {
|
|||
/* 189 */ SyscallDesc("putpmsg", unimplementedFunc),
|
||||
/* 190 */ SyscallDesc("vfork", unimplementedFunc),
|
||||
/* 191 */ SyscallDesc("ugetrlimit", unimplementedFunc),
|
||||
/* 192 */ SyscallDesc("mmap2", unimplementedFunc),
|
||||
/* 192 */ SyscallDesc("mmap2", mmapFunc<X86Linux32>),
|
||||
/* 193 */ SyscallDesc("truncate64", unimplementedFunc),
|
||||
/* 194 */ SyscallDesc("ftruncate64", unimplementedFunc),
|
||||
/* 195 */ SyscallDesc("stat64", unimplementedFunc),
|
||||
|
|
Loading…
Reference in a new issue