frame.h (1549) | frame.h (7090) |
---|---|
1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * from: @(#)frame.h 5.2 (Berkeley) 1/18/91 | 1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * from: @(#)frame.h 5.2 (Berkeley) 1/18/91 |
37 * $Id: frame.h,v 1.7 1994/01/03 07:55:32 davidg Exp $ | 37 * $Id: frame.h,v 1.9 1994/05/25 08:56:02 rgrimes Exp $ |
38 */ 39 40#ifndef _MACHINE_FRAME_H_ 41#define _MACHINE_FRAME_H_ 1 42 43#include <sys/signal.h> 44 45/* --- 21 unchanged lines hidden (view full) --- 67 int tf_eip; 68 int tf_cs; 69 int tf_eflags; 70 /* below only when transitting rings (e.g. user to kernel) */ 71 int tf_esp; 72 int tf_ss; 73}; 74 | 38 */ 39 40#ifndef _MACHINE_FRAME_H_ 41#define _MACHINE_FRAME_H_ 1 42 43#include <sys/signal.h> 44 45/* --- 21 unchanged lines hidden (view full) --- 67 int tf_eip; 68 int tf_cs; 69 int tf_eflags; 70 /* below only when transitting rings (e.g. user to kernel) */ 71 int tf_esp; 72 int tf_ss; 73}; 74 |
75extern int kdb_trap(int, int, struct trapframe *); 76 | |
77/* Interrupt stack frame */ 78 79struct intrframe { 80 int if_vec; 81 int if_ppl; 82 int if_es; 83 int if_ds; 84 int if_edi; --- 47 unchanged lines hidden (view full) --- 132struct sigframe { 133 int sf_signum; 134 int sf_code; 135 struct sigcontext *sf_scp; 136 char *sf_addr; 137 sig_t sf_handler; 138 struct sigcontext sf_sc; 139}; | 75/* Interrupt stack frame */ 76 77struct intrframe { 78 int if_vec; 79 int if_ppl; 80 int if_es; 81 int if_ds; 82 int if_edi; --- 47 unchanged lines hidden (view full) --- 130struct sigframe { 131 int sf_signum; 132 int sf_code; 133 struct sigcontext *sf_scp; 134 char *sf_addr; 135 sig_t sf_handler; 136 struct sigcontext sf_sc; 137}; |
138 139int kdb_trap __P((int, int, struct trapframe *)); 140int math_emulate __P((struct trapframe * info)); 141 |
|
140#endif /* _MACHINE_FRAME_H_ */ | 142#endif /* _MACHINE_FRAME_H_ */ |