From 4cea6b395d96b7a1365b9c60afb5ab028395acb6 Mon Sep 17 00:00:00 2001 From: rgrimes Date: Fri, 8 Oct 1993 20:51:00 +0000 Subject: All: Remove patch kit headers, and add $Id$ This is mostly to align some more code with NetBSD. cpu.h: Remove the old function vs. include configuration stuff that was ifdefed out when we went to inline functions. Remove the define of resettodr that made it a nop, there is already a function that makes it a nop, no need to #define one. Remove the #defines of processor types, they are now defined in cputypes.h, #include that file. Add struct cpu_nameclass for support of cpu types. frame.h: include sys/signal.h, it will be needed in the future. put the sigframe structure here that was in machdep.c pcb.h: Add multiple inclusion protection. Add pcb_ldt and pcb_ldt_len to pcb structure, this is for the user mode ldt. --- sys/amd64/include/frame.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'sys/amd64/include/frame.h') diff --git a/sys/amd64/include/frame.h b/sys/amd64/include/frame.h index 4dbabd1..250e5c5 100644 --- a/sys/amd64/include/frame.h +++ b/sys/amd64/include/frame.h @@ -33,9 +33,12 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)frame.h 5.2 (Berkeley) 1/18/91 + * from: @(#)frame.h 5.2 (Berkeley) 1/18/91 + * $Id$ */ +#include + /* * System stack frames. */ @@ -93,6 +96,20 @@ struct intrframe { }; /* + * Signal frame + */ +struct sigframe { + int sf_signum; + int sf_code; + struct sigcontext *sf_scp; + sig_t sf_handler; + int sf_eax; + int sf_edx; + int sf_ecx; + struct sigcontext sf_sc; +} ; + +/* * Call Gate/System Call Stack Frame */ -- cgit v1.1