mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
linux-user, mips: add syscall table generation support
Copy syscall.tbl and syscallhdr.sh from linux/arch/mips/kernel/syscalls/syscall_o32.tbl v5.5 Update syscallhdr.sh to generate QEMU syscall_nr.h Move the offset (4000) from the file to the Makefile.objs to be passed to syscallhdr.sh Rename on the fly fadvise64 to fadvise64_64. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Taylor Simpson <tsimpson@quicinc.com> Message-Id: <20200310103403.3284090-17-laurent@vivier.eu> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
8d62f35ad2
commit
c59716fc5b
6 changed files with 469 additions and 426 deletions
3
configure
vendored
3
configure
vendored
|
@ -1890,7 +1890,7 @@ rm -f */config-devices.mak.d
|
|||
# Remove syscall_nr.h to be sure they will be regenerated in the build
|
||||
# directory, not in the source directory
|
||||
for arch in alpha hppa m68k xtensa sh4 microblaze arm ppc s390x sparc sparc64 \
|
||||
i386 x86_64 ; do
|
||||
i386 x86_64 mips ; do
|
||||
# remove the file if it has been generated in the source directory
|
||||
rm -f "${source_path}/linux-user/${arch}/syscall_nr.h"
|
||||
# remove the dependency files
|
||||
|
@ -7837,6 +7837,7 @@ case "$target_name" in
|
|||
mttcg="yes"
|
||||
TARGET_ARCH=mips
|
||||
echo "TARGET_ABI_MIPSO32=y" >> $config_target_mak
|
||||
TARGET_SYSTBL_ABI=o32
|
||||
;;
|
||||
mipsn32|mipsn32el)
|
||||
mttcg="yes"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue