diff options
author | peter <peter@FreeBSD.org> | 2005-09-27 18:04:20 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2005-09-27 18:04:20 +0000 |
commit | fe69f6532fcfecc00df6b7e50650f1faab13e6ad (patch) | |
tree | c80caed9932f5e06e140bfd48b46cd8c45163d02 /sys/compat | |
parent | 03582b6378977bd655ebe3c4cb36b2f4f77463fc (diff) | |
download | FreeBSD-src-fe69f6532fcfecc00df6b7e50650f1faab13e6ad.zip FreeBSD-src-fe69f6532fcfecc00df6b7e50650f1faab13e6ad.tar.gz |
Implement 32 bit getcontext/setcontext/swapcontext on amd64. I've added
stubs for ia64 to keep it compiling. These are used by 32 bit apps such
as gdb.
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/freebsd32/syscalls.master | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/compat/freebsd32/syscalls.master b/sys/compat/freebsd32/syscalls.master index 2a764bf..8094be3 100644 --- a/sys/compat/freebsd32/syscalls.master +++ b/sys/compat/freebsd32/syscalls.master @@ -693,12 +693,13 @@ 418 AUE_NULL UNIMPL __xstat 419 AUE_NULL UNIMPL __xfstat 420 AUE_NULL UNIMPL __xlstat -; XXX implement -421 AUE_NULL UNIMPL getcontext -; XXX implement -422 AUE_NULL UNIMPL setcontext -; XXX implement -423 AUE_NULL UNIMPL swapcontext +421 AUE_NULL MSTD { int freebsd32_getcontext( \ + struct freebsd32_ucontext *ucp); } +422 AUE_NULL MSTD { int freebsd32_setcontext( \ + const struct freebsd32_ucontext *ucp); } +423 AUE_NULL MSTD { int freebsd32_swapcontext( \ + struct freebsd32_ucontext *oucp, \ + const struct freebsd32_ucontext *ucp); } 424 AUE_NULL UNIMPL swapoff 425 AUE_NULL UNIMPL __acl_get_link 426 AUE_NULL UNIMPL __acl_set_link |