0f7af7ac61
* include/linux/x86/syscall.h (SYS_mmap, SYS_munmap): New macro. * include/linux/x86_64/syscall.h (SYS_mmap, SYS_munmap): New macro. * include/sys/mman.h (MAP_SHARED, MAP_PRIVATE, MAP_ANONYMOUS, MAP_POPULATE, MAP_ANON, MAP_FAILED): New macro. (mmap, munmap): Declare. * lib/linux/gnu.c (mmap, munmap): New function. * lib/linux/x86-mes-gcc/mes.c (_sys_call6): New function. * lib/linux/x86-mes/mes.c (__sys_call6): New function. (_sys_call6): New function. * lib/linux/x86_64-mes-gcc/mes.c (_sys_call6): New function. * lib/linux/x86_64-mes/mes.c (__sys_call): Cater for 6 syscall parameters. (_sys_call6): New function. * lib/x86-mes/x86.M1 (pop____%ebp): New macro. * lib/x86_64-mes/x86_64.M1 (mov____0x8(%rbp),%r9): New macro. |
||
---|---|---|
.. | ||
cdefs.h | ||
dir.h | ||
file.h | ||
ioctl.h | ||
mman.h | ||
param.h | ||
resource.h | ||
select.h | ||
stat.h | ||
time.h | ||
timeb.h | ||
times.h | ||
types.h | ||
ucontext.h | ||
user.h | ||
wait.h |