frame.h (6875d25465631b7563f1b90e6b05e2640dc81f4e) | frame.h (48a09cf2760da35e089ae3e2d56578b730fc7047) |
---|---|
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$ | 37 * $Id: frame.h,v 1.14 1997/02/22 09:34:38 peter 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 crossing 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 crossing rings (e.g. user to kernel) */ 71 int tf_esp; 72 int tf_ss; 73}; 74 |
75/* Superset of trap frame, for traps from virtual-8086 mode */ 76 77struct trapframe_vm86 { 78 int tf_es; 79 int tf_ds; 80 int tf_edi; 81 int tf_esi; 82 int tf_ebp; 83 int tf_isp; 84 int tf_ebx; 85 int tf_edx; 86 int tf_ecx; 87 int tf_eax; 88 int tf_trapno; 89 /* below portion defined in 386 hardware */ 90 int tf_err; 91 int tf_eip; 92 int tf_cs; 93 int tf_eflags; 94 /* below only when crossing rings (e.g. user to kernel) */ 95 int tf_esp; 96 int tf_ss; 97 /* below only when switching out of VM86 mode */ 98 int tf_vm86_es; 99 int tf_vm86_ds; 100 int tf_vm86_fs; 101 int tf_vm86_gs; 102}; 103 |
|
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; --- 60 unchanged lines hidden --- | 104/* Interrupt stack frame */ 105 106struct intrframe { 107 int if_vec; 108 int if_ppl; 109 int if_es; 110 int if_ds; 111 int if_edi; --- 60 unchanged lines hidden --- |