mes/lib/linux
Andrius Štikonas 01991aff74 riscv64: Port to word based mescc-tools.
* module/mescc/M1.scm (riscv:i-format, riscv:j-format, riscv:u-format):
New procedures for RISC-V instruction formats.
(info->M1): Use them to switch from !0xAB to M1
weird strings 'AB'.
* module/mescc/riscv64/as.scm,
lib/linux/riscv64-mes-m2/_exit.c
ib/linux/riscv64-mes-m2/_write.c,.
lib/linux/riscv64-mes-m2/crt1.M1,.
lib/linux/riscv64-mes-m2/syscall.c,.
lib/linux/riscv64-mes-mescc/_exit.c,.
lib/linux/riscv64-mes-mescc/_write.c,.
lib/linux/riscv64-mes-mescc/crt1.c,.
lib/linux/riscv64-mes-mescc/syscall-internal.c,.
lib/linux/riscv64-mes-mescc/syscall.c,.
lib/m2/riscv64/riscv64_defs.M1,.
lib/riscv64-mes-mescc/setjmp.c,.
lib/riscv64-mes/riscv64.M1: Switch to riscv64 word-based macros.
* lib/linux/open.c (open)[!SYS_open]: Add support using openat syscall.
* include/linux/riscv64/syscall.h (MAKESTRING, MAKESTRING2,
RISCV_SYSCALL): New macros.
2023-07-17 09:06:32 +02:00
..
arm-mes Add ARM linker support files. 2020-06-02 20:27:52 +02:00
arm-mes-gcc arm: lib: Use __init_io. 2023-07-17 09:06:32 +02:00
arm-mes-m2 arm: lib: Use __init_io. 2023-07-17 09:06:32 +02:00
arm-mes-mescc arm: lib: Use __init_io. 2023-07-17 09:06:32 +02:00
riscv64-mes lib: Make Linux scaffold work for RISC-V64. 2023-07-17 09:06:32 +02:00
riscv64-mes-gcc riscv64: lib: Use __init_io. 2023-07-17 09:06:32 +02:00
riscv64-mes-m2 riscv64: Port to word based mescc-tools. 2023-07-17 09:06:32 +02:00
riscv64-mes-mescc riscv64: Port to word based mescc-tools. 2023-07-17 09:06:32 +02:00
x86-mes build: Prepare for kernel variants. 2019-12-17 21:07:35 +01:00
x86-mes-gcc x86: lib: Use __init_io. 2023-07-17 09:06:32 +02:00
x86-mes-m2 x86: lib: Use __init_io. 2023-07-17 09:06:32 +02:00
x86-mes-mescc x86: lib: Use __init_io. 2023-07-17 09:06:32 +02:00
x86_64-mes build: Prepare for kernel variants. 2019-12-17 21:07:35 +01:00
x86_64-mes-gcc x86_64: lib: Use __init_io. 2023-07-17 09:06:32 +02:00
x86_64-mes-m2 x86_64: lib: Use __init_io. 2023-07-17 09:06:32 +02:00
x86_64-mes-mescc x86_64: lib: Use __init_io. 2023-07-17 09:06:32 +02:00
_getcwd.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
_open3.c lib: General Linux RISC-V64 syscall support. 2023-07-17 09:06:32 +02:00
_read.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
access.c lib: General Linux RISC-V64 syscall support. 2023-07-17 09:06:32 +02:00
brk.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
chdir.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
chmod.c lib: General Linux RISC-V64 syscall support. 2023-07-17 09:06:32 +02:00
clock_gettime.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
close.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
dup.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
dup2.c lib: General Linux RISC-V64 syscall support. 2023-07-17 09:06:32 +02:00
execve.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
fcntl.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
fork.c lib: General Linux RISC-V64 syscall support. 2023-07-17 09:06:32 +02:00
fstat.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
fsync.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
getdents.c lib: General Linux RISC-V64 syscall support. 2023-07-17 09:06:32 +02:00
getegid.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
geteuid.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
getgid.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
getpid.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
getppid.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
getrusage.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
gettimeofday.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
getuid.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
ioctl.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
ioctl3.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
kill.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
link.c lib: General Linux RISC-V64 syscall support. 2023-07-17 09:06:32 +02:00
lseek.c kaem.run: Remove --bootstrap-mode. 2023-05-03 08:03:48 +02:00
lstat.c lib: General Linux RISC-V64 syscall support. 2023-07-17 09:06:32 +02:00
malloc.c kaem: read: Remove --bootstrap-mode. 2023-05-02 10:22:45 +02:00
mkdir.c lib: General Linux RISC-V64 syscall support. 2023-07-17 09:06:32 +02:00
mknod.c lib: General Linux RISC-V64 syscall support. 2023-07-17 09:06:32 +02:00
nanosleep.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
open.c riscv64: Port to word based mescc-tools. 2023-07-17 09:06:32 +02:00
pipe.c lib: General Linux RISC-V64 syscall support. 2023-07-17 09:06:32 +02:00
read.c kaem: read: Remove --bootstrap-mode. 2023-05-02 10:22:45 +02:00
readlink.c lib: General Linux RISC-V64 syscall support. 2023-07-17 09:06:32 +02:00
rename.c lib: General Linux RISC-V64 syscall support. 2023-07-17 09:06:32 +02:00
rmdir.c lib: General Linux RISC-V64 syscall support. 2023-07-17 09:06:32 +02:00
setgid.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
settimer.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
setuid.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
signal.c lib: General Linux RISC-V64 syscall support. 2023-07-17 09:06:32 +02:00
sigprogmask.c lib: General Linux RISC-V64 syscall support. 2023-07-17 09:06:32 +02:00
stat.c lib: General Linux RISC-V64 syscall support. 2023-07-17 09:06:32 +02:00
symlink.c lib: General Linux RISC-V64 syscall support. 2023-07-17 09:06:32 +02:00
time.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
unlink.c lib: General Linux RISC-V64 syscall support. 2023-07-17 09:06:32 +02:00
wait4.c lib: linux: Add wait4. 2023-05-03 08:04:32 +02:00
waitpid.c lib: linux: Add wait4. 2023-05-03 08:04:32 +02:00