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.11 1995/12/14 08:21:33 phk Exp $ |
38 */ 39 40#ifndef _MACHINE_FRAME_H_ 41#define _MACHINE_FRAME_H_ 1 42 43#include <sys/signal.h> 44 45/* --- 16 unchanged lines hidden (view full) --- 62 int tf_ecx; 63 int tf_eax; 64 int tf_trapno; 65 /* below portion defined in 386 hardware */ 66 int tf_err; 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/* Interrupt stack frame */ 76 77struct intrframe { 78 int if_vec; --- 9 unchanged lines hidden (view full) --- 88 int if_ecx; 89 int if_eax; 90 int :32; /* for compat with trap frame - trapno */ 91 int :32; /* for compat with trap frame - err */ 92 /* below portion defined in 386 hardware */ 93 int if_eip; 94 int if_cs; 95 int if_eflags; |
96 /* below only when crossing rings (e.g. user to kernel) */ |
97 int if_esp; 98 int if_ss; 99}; 100 101/* frame of clock (same as interrupt frame) */ 102 103struct clockframe { 104 int cf_vec; --- 9 unchanged lines hidden (view full) --- 114 int cf_ecx; 115 int cf_eax; 116 int :32; /* for compat with trap frame - trapno */ 117 int :32; /* for compat with trap frame - err */ 118 /* below portion defined in 386 hardware */ 119 int cf_eip; 120 int cf_cs; 121 int cf_eflags; |
122 /* below only when crossing rings (e.g. user to kernel) */ |
123 int cf_esp; 124 int cf_ss; 125}; 126 127/* 128 * Signal frame 129 */ 130struct sigframe { --- 12 unchanged lines hidden --- |