bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/5] basic syscall support on x86_64


From: Luca Dariz
Subject: [PATCH 0/5] basic syscall support on x86_64
Date: Mon, 27 Feb 2023 21:44:56 +0100

This enables simple user-space programs compiled for x86_64. Regular
syscalls should work, RPCs are not yet properly working:
* the commit "fix port name copyin" is just to make simple rpc work
* To test the syscalls I patched mig to not add the _Static_assert()
  statements, otherwise gnumach fails to build.

Luca Dariz (5):
  x86_64: allow compilation if ! USER32
  fix copyin/outmsg header for ! USER32
  fix port name copyin
  x86_64: fix user trap during syscall with an invalid user stack
  x86_64: add 64-bit syscall entry point

 i386/i386/i386asm.sym               |  11 ++
 i386/i386/ldt.c                     |  15 ++-
 i386/i386/ldt.h                     |   7 +-
 i386/i386/locore.h                  |  33 +++++-
 i386/include/mach/i386/syscall_sw.h |  16 +--
 i386/intel/pmap.c                   |   6 +-
 x86_64/copy_user.c                  |   6 +-
 x86_64/locore.S                     | 156 ++++++++++++++++++++++++++--
 8 files changed, 224 insertions(+), 26 deletions(-)

-- 
2.30.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]