signal.h (119888) | signal.h (119889) |
---|---|
1/* 2 * Copyright (c) 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)signal.h 8.1 (Berkeley) 6/11/93 | 1/* 2 * Copyright (c) 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)signal.h 8.1 (Berkeley) 6/11/93 |
34 * $FreeBSD: head/sys/amd64/include/signal.h 119888 2003-09-08 18:28:41Z peter $ | 34 * $FreeBSD: head/sys/amd64/include/signal.h 119889 2003-09-08 18:31:48Z peter $ |
35 */ 36 37#ifndef _MACHINE_SIGNAL_H_ 38#define _MACHINE_SIGNAL_H_ 39 40#include <sys/cdefs.h> 41#include <sys/_sigset.h> 42 --- 26 unchanged lines hidden (view full) --- 69 */ 70/* 71 * The sequence of the fields/registers in struct sigcontext should match 72 * those in mcontext_t. 73 */ 74struct sigcontext { 75 struct __sigset sc_mask; /* signal mask to restore */ 76 long sc_onstack; /* sigstack state to restore */ | 35 */ 36 37#ifndef _MACHINE_SIGNAL_H_ 38#define _MACHINE_SIGNAL_H_ 39 40#include <sys/cdefs.h> 41#include <sys/_sigset.h> 42 --- 26 unchanged lines hidden (view full) --- 69 */ 70/* 71 * The sequence of the fields/registers in struct sigcontext should match 72 * those in mcontext_t. 73 */ 74struct sigcontext { 75 struct __sigset sc_mask; /* signal mask to restore */ 76 long sc_onstack; /* sigstack state to restore */ |
77 long sc_r15; /* machine state (struct trapframe) */ 78 long sc_r14; 79 long sc_r13; 80 long sc_r12; 81 long sc_r11; 82 long sc_r10; 83 long sc_r9; 84 long sc_r8; 85 long sc_rdi; | 77 long sc_rdi; /* machine state (struct trapframe) */ |
86 long sc_rsi; | 78 long sc_rsi; |
87 long sc_rbp; 88 long sc_rbx; | |
89 long sc_rdx; 90 long sc_rcx; | 79 long sc_rdx; 80 long sc_rcx; |
81 long sc_r8; 82 long sc_r9; |
|
91 long sc_rax; | 83 long sc_rax; |
84 long sc_rbx; 85 long sc_rbp; 86 long sc_r10; 87 long sc_r11; 88 long sc_r12; 89 long sc_r13; 90 long sc_r14; 91 long sc_r15; |
|
92 long sc_trapno; | 92 long sc_trapno; |
93 long sc_addr; |
|
93 long sc_err; 94 long sc_rip; 95 long sc_cs; 96 long sc_rflags; 97 long sc_rsp; 98 long sc_ss; 99 long sc_len; /* sizeof(mcontext_t) */ 100 /* --- 12 unchanged lines hidden --- | 94 long sc_err; 95 long sc_rip; 96 long sc_cs; 97 long sc_rflags; 98 long sc_rsp; 99 long sc_ss; 100 long sc_len; /* sizeof(mcontext_t) */ 101 /* --- 12 unchanged lines hidden --- |