summaryrefslogtreecommitdiffstats
path: root/sys/compat/ia32/ia32_signal.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-11-08 07:43:44 +0000
committerpeter <peter@FreeBSD.org>2003-11-08 07:43:44 +0000
commitb652116ae946f9f6b733455558cc0f8a35407ed2 (patch)
tree9dd7ec964780095843f3c394f45716ecd177b0cd /sys/compat/ia32/ia32_signal.h
parent4de1c73f1033a90d81b1b1ba9e7b5a0dda9892af (diff)
downloadFreeBSD-src-b652116ae946f9f6b733455558cc0f8a35407ed2.zip
FreeBSD-src-b652116ae946f9f6b733455558cc0f8a35407ed2.tar.gz
Move a MD 32 bit binary support routine into the MD areas. exec_setregs
is highly MD in an emulation environment since it operates on the host environment. Although the setregs functions are really for exec support rather than signals, they deal with the same sorts of context and include files. So I put it there rather than create yet another file.
Diffstat (limited to 'sys/compat/ia32/ia32_signal.h')
-rw-r--r--sys/compat/ia32/ia32_signal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/ia32/ia32_signal.h b/sys/compat/ia32/ia32_signal.h
index e9b3502..12bf946 100644
--- a/sys/compat/ia32/ia32_signal.h
+++ b/sys/compat/ia32/ia32_signal.h
@@ -160,3 +160,5 @@ extern char freebsd4_ia32_sigcode[];
extern int sz_ia32_sigcode;
extern int sz_freebsd4_ia32_sigcode;
extern void ia32_sendsig(sig_t, int, sigset_t *, u_long);
+extern void ia32_setregs(struct thread *td, u_long entry, u_long stack,
+ u_long ps_strings);
OpenPOWER on IntegriCloud