mes/include
Jan Nieuwenhuizen 0f7af7ac61
mescc: Mes C Library: Support gcc-4.6.4: Add mmap, munmap.
* 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.
2019-02-10 19:29:52 +01:00
..
linux mescc: Mes C Library: Support gcc-4.6.4: Add mmap, munmap. 2019-02-10 19:29:52 +01:00
sys mescc: Mes C Library: Support gcc-4.6.4: Add mmap, munmap. 2019-02-10 19:29:52 +01:00
alloca.h GNU Mes. 2018-07-22 14:24:36 +02:00
ar.h mescc: Mes C Library: Support make: Add chdir, getlogin, setvbuf, sigblock. 2018-08-26 22:41:52 +02:00
argz.h GNU Mes. 2018-07-22 14:24:36 +02:00
assert.h GNU Mes. 2018-07-22 14:24:36 +02:00
ctype.h mescc: Mes C Library: Support GNU Awk: Do not flush std files. 2019-02-08 19:34:45 +01:00
dirent.h mescc: Mes C Library: Add closedir, opendir, readdir. 2018-08-26 18:34:53 +02:00
dirstream.h mescc: Mes C Library: Add closedir, opendir, readdir. 2018-08-26 18:34:53 +02:00
dlfcn.h GNU Mes. 2018-07-22 14:24:36 +02:00
endian.h GNU Mes. 2018-07-22 14:24:36 +02:00
errno.h mescc: Mes C Library: Support GNU Tar: Add missing defines. 2019-02-08 19:34:46 +01:00
fcntl.h mescc: Mes C Library: Support GNU Tar: Add creat, mknod. 2019-02-08 19:34:46 +01:00
features.h GNU Mes. 2018-07-22 14:24:36 +02:00
float.h mescc: Mes C Library: Support gcc-4.6.4: Add float macros. 2019-02-08 19:34:49 +01:00
getopt.h GNU Mes. 2018-07-22 14:24:36 +02:00
grp.h mescc: Mes C Library: Support GNU Tar: Add getgrgid, getgrnam, setgrent stub. 2019-02-08 19:34:47 +01:00
inttypes.h GNU Mes. 2018-07-22 14:24:36 +02:00
libgen.h GNU Mes. 2018-07-22 14:24:36 +02:00
libmes-mini.h mescc: Mes C Library: Use __ as global internal prefix. 2019-02-08 19:34:47 +01:00
libmes.h build: Replace POSIX, posix_p by WITH_GLIBC, wip_glibc_p. 2019-02-08 19:34:48 +01:00
limits.h mescc: Add INTn_MIN/MAX defines to stdint.h. 2018-10-16 20:40:41 +02:00
locale.h mescc: Support gcc-3.0: Locale header fix. 2018-09-11 07:01:33 +02:00
math.h mescc: Mes C Library: Support gcc-4.6.4: Add labs. 2019-02-09 23:25:45 +01:00
memory.h GNU Mes. 2018-07-22 14:24:36 +02:00
pwd.h mescc: Support GNU Bash. 2018-11-09 21:26:10 +01:00
setjmp.h mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
signal.h core: String as array of bytes. 2018-11-11 16:25:36 +01:00
stdarg.h mescc: Mes C Library: Support gcc-4.6.4: Add fscanf, vfscanf. 2019-02-08 19:34:49 +01:00
stdbool.h GNU Mes. 2018-07-22 14:24:36 +02:00
stddef.h mescc: Mes C Library: Do not redefine size_t. 2018-09-01 16:55:45 +02:00
stdint.h mescc: Mes C Library: Support gcc-4.6.4: Add SSIZE_MAX macro. 2019-02-08 19:34:49 +01:00
stdio.h mescc: Mes C Library: Support gcc-4.6.4: Implement rewind. 2019-02-09 23:25:45 +01:00
stdlib.h mescc: Mes C Library: Support gcc-4.6.4: Add abort prototype. 2019-02-08 19:34:49 +01:00
stdnoreturn.h GNU Mes. 2018-07-22 14:24:36 +02:00
string.h mescc: Mes C Library: Support gcc-4.6.4: Add strtok. 2019-02-09 23:25:45 +01:00
strings.h GNU Mes. 2018-07-22 14:24:36 +02:00
termio.h mescc: Mes C Library: Support GNU Bash: Add struct winsize. 2019-02-08 19:34:46 +01:00
time.h mescc: Mes C Library: Support gcc-4.6.4: Add asctime stub. 2019-02-09 23:25:45 +01:00
unistd.h mescc: Mes C Library: Support GNU Awk: Add getpgid, getpgrp stubs. 2019-02-08 19:34:46 +01:00