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/ia64/ia32 | |
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/ia64/ia32')
-rw-r--r-- | sys/ia64/ia32/ia32_signal.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sys/ia64/ia32/ia32_signal.c b/sys/ia64/ia32/ia32_signal.c index b001ae1..6725cb3 100644 --- a/sys/ia64/ia32/ia32_signal.c +++ b/sys/ia64/ia32/ia32_signal.c @@ -263,3 +263,24 @@ ia32_savectx(struct pcb *pcb) pcb->pcb_ia32_fir = ia64_get_fir(); pcb->pcb_ia32_fsr = ia64_get_fsr(); } + +int +freebsd32_getcontext(struct thread *td, struct freebsd32_getcontext_args *uap) +{ + + return (nosys(td, NULL)); +} + +int +freebsd32_setcontext(struct thread *td, struct freebsd32_setcontext_args *uap) +{ + + return (nosys(td, NULL)); +} + +int +freebsd32_swapcontext(struct thread *td, struct freebsd32_swapcontext_args *uap) +{ + + return (nosys(td, NULL)); +} |