frame.h (27993) | frame.h (46129) |
---|---|
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.14 1997/02/22 09:34:38 peter Exp $ | 37 * $Id: frame.h,v 1.15 1997/08/09 00:03:12 dyson Exp $ |
38 */ 39 40#ifndef _MACHINE_FRAME_H_ 41#define _MACHINE_FRAME_H_ 1 42 43#include <sys/signal.h> 44 45/* 46 * System stack frames. 47 */ 48 49/* 50 * Exception/Trap Stack Frame 51 */ 52 53struct trapframe { | 38 */ 39 40#ifndef _MACHINE_FRAME_H_ 41#define _MACHINE_FRAME_H_ 1 42 43#include <sys/signal.h> 44 45/* 46 * System stack frames. 47 */ 48 49/* 50 * Exception/Trap Stack Frame 51 */ 52 53struct trapframe { |
54 int tf_fs; |
|
54 int tf_es; 55 int tf_ds; 56 int tf_edi; 57 int tf_esi; 58 int tf_ebp; 59 int tf_isp; 60 int tf_ebx; 61 int tf_edx; --- 8 unchanged lines hidden (view full) --- 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 { | 55 int tf_es; 56 int tf_ds; 57 int tf_edi; 58 int tf_esi; 59 int tf_ebp; 60 int tf_isp; 61 int tf_ebx; 62 int tf_edx; --- 8 unchanged lines hidden (view full) --- 71 /* below only when crossing rings (e.g. user to kernel) */ 72 int tf_esp; 73 int tf_ss; 74}; 75 76/* Superset of trap frame, for traps from virtual-8086 mode */ 77 78struct trapframe_vm86 { |
79 int tf_fs; |
|
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; --- 15 unchanged lines hidden (view full) --- 101 int tf_vm86_gs; 102}; 103 104/* Interrupt stack frame */ 105 106struct intrframe { 107 int if_vec; 108 int if_ppl; | 80 int tf_es; 81 int tf_ds; 82 int tf_edi; 83 int tf_esi; 84 int tf_ebp; 85 int tf_isp; 86 int tf_ebx; 87 int tf_edx; --- 15 unchanged lines hidden (view full) --- 103 int tf_vm86_gs; 104}; 105 106/* Interrupt stack frame */ 107 108struct intrframe { 109 int if_vec; 110 int if_ppl; |
111 int if_fs; |
|
109 int if_es; 110 int if_ds; 111 int if_edi; 112 int if_esi; 113 int if_ebp; 114 int :32; 115 int if_ebx; 116 int if_edx; --- 10 unchanged lines hidden (view full) --- 127 int if_ss; 128}; 129 130/* frame of clock (same as interrupt frame) */ 131 132struct clockframe { 133 int cf_vec; 134 int cf_ppl; | 112 int if_es; 113 int if_ds; 114 int if_edi; 115 int if_esi; 116 int if_ebp; 117 int :32; 118 int if_ebx; 119 int if_edx; --- 10 unchanged lines hidden (view full) --- 130 int if_ss; 131}; 132 133/* frame of clock (same as interrupt frame) */ 134 135struct clockframe { 136 int cf_vec; 137 int cf_ppl; |
138 int cf_fs; |
|
135 int cf_es; 136 int cf_ds; 137 int cf_edi; 138 int cf_esi; 139 int cf_ebp; 140 int :32; 141 int cf_ebx; 142 int cf_edx; --- 29 unchanged lines hidden --- | 139 int cf_es; 140 int cf_ds; 141 int cf_edi; 142 int cf_esi; 143 int cf_ebp; 144 int :32; 145 int cf_ebx; 146 int cf_edx; --- 29 unchanged lines hidden --- |