Le 18/02/2020 à 23:48, Alistair Francis a écrit : > On Mon, Feb 17, 2020 at 2:36 PM Laurent Vivier <laur...@vivier.eu> wrote: >> >> This series copies the files syscall.tbl from linux v5.5 and generates >> the file syscall_nr.h from them. >> >> This is done for all the QEMU targets that have a syscall.tbl >> in the linux source tree: mips, mips64, i386, x86_64, sparc, s390x, >> ppc, arm, microblaze, sh4, xtensa, m68k, hppa and alpha. >> >> tilegx and cris are depecrated in linux (tilegx has no maintainer in QEMU) >> >> aarch64, nios2, openrisc and riscv have no syscall.tbl in linux. > > What's the plan with these other architectures? > > RISC-V uses asm-generic, is there some way to generate syscall_nr.h from that?
Automatically no. The best to do should be to convert linux parts using asm-generic to syscall.tbl and then after that using it in QEMU. Thanks, Laurent