141474Smckusick /* 241474Smckusick * Copyright (c) 1988 University of Utah. 341474Smckusick * Copyright (c) 1982, 1986, 1990 The Regents of the University of California. 441474Smckusick * All rights reserved. 541474Smckusick * 641474Smckusick * This code is derived from software contributed to Berkeley by 741474Smckusick * the Systems Programming Group of the University of Utah Computer 841474Smckusick * Science Department. 941474Smckusick * 1041474Smckusick * %sccs.include.redist.c% 1141474Smckusick * 12*53928Shibler * from: Utah $Hdr: pcb.h 1.14 91/03/25$ 1341474Smckusick * 14*53928Shibler * @(#)pcb.h 7.5 (Berkeley) 06/05/92 1541474Smckusick */ 1641474Smckusick 1749135Skarels #include <machine/frame.h> 1841474Smckusick 1941474Smckusick /* 2041474Smckusick * HP300 process control block 2141474Smckusick */ 2241474Smckusick struct pcb 2341474Smckusick { 24*53928Shibler short pcb_flags; /* misc. process flags */ 25*53928Shibler short pcb_ps; /* processor status word */ 26*53928Shibler int pcb_ustp; /* user segment table pointer */ 27*53928Shibler int pcb_usp; /* user stack pointer */ 28*53928Shibler int pcb_regs[12]; /* D2-D7, A2-A7 */ 2949135Skarels caddr_t pcb_onfault; /* for copyin/out faults */ 3049135Skarels struct fpframe pcb_fpregs; /* 68881/2 context save area */ 3149135Skarels int pcb_exec[16]; /* exec structure for core dumps */ 3241474Smckusick }; 3341474Smckusick 3441474Smckusick /* flags */ 3541474Smckusick 3641474Smckusick #define PCB_HPUXMMAP 0x0010 /* VA space is multiple mapped */ 3741474Smckusick #define PCB_HPUXTRACE 0x0020 /* being traced by an HPUX process */ 3841474Smckusick #define PCB_HPUXBIN 0x0040 /* loaded from an HPUX format binary */ 3941474Smckusick /* note: does NOT imply SHPUX */ 40*53928Shibler #define PCB_CCBDATA 0x0100 /* copyback caching of data */ 41*53928Shibler #define PCB_CCBSTACK 0x0200 /* copyback caching of stack */ 42