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 * $FreeBSD: head/sys/i386/include/frame.h 117870 2003-07-22 08:11:17Z peter $ |
38 */ 39 40#ifndef _MACHINE_FRAME_H_ 41#define _MACHINE_FRAME_H_ 1 42 43/* 44 * System stack frames. 45 */ --- 103 unchanged lines hidden (view full) --- 149 int cf_cs; 150 int cf_eflags; 151 /* below only when crossing rings (e.g. user to kernel) */ 152 int cf_esp; 153 int cf_ss; 154}; 155 156int kdb_trap(int, int, struct trapframe *); |
157 158#define INTR_TO_TRAPFRAME(frame) ((struct trapframe *)&(frame)->if_fs) 159 160#endif /* _MACHINE_FRAME_H_ */ |