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: @(#)pcb.h 5.10 (Berkeley) 5/12/91 |
37 * $FreeBSD: head/sys/i386/include/pcb.h 103408 2002-09-16 19:25:41Z mini $ |
38 */ 39 40#ifndef _I386_PCB_H_ 41#define _I386_PCB_H_ 42 43/* 44 * Intel 386 process control block 45 */ --- 15 unchanged lines hidden (view full) --- 61 int pcb_dr6; 62 int pcb_dr7; 63 64 union savefpu pcb_save; 65 u_int pcb_flags; 66#define FP_SOFTFP 0x01 /* process using software fltng pnt emulator */ 67#define PCB_DBREGS 0x02 /* process using debug registers */ 68#define PCB_NPXTRAP 0x04 /* npx trap pending */ |
69#define PCB_NPXINITDONE 0x08 /* fpu state is initialized */ |
70 caddr_t pcb_onfault; /* copyin/out fault recovery */ 71 int pcb_gs; 72 struct pcb_ext *pcb_ext; /* optional pcb extension */ 73 int pcb_psl; /* process status long */ 74 u_long __pcb_spare[2]; /* adjust to avoid core dump size changes */ 75}; 76 77/* 78 * The pcb is augmented with machine-dependent additional data for 79 * core dumps. For the i386: ??? 80 */ 81struct md_coredump { 82}; 83 84#ifdef _KERNEL 85void savectx(struct pcb *); 86#endif 87 88#endif /* _I386_PCB_H_ */ |