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 * 1253928Shibler * from: Utah $Hdr: pcb.h 1.14 91/03/25$ 1341474Smckusick * 14*57320Shibler * @(#)pcb.h 7.7 (Berkeley) 12/27/92 1541474Smckusick */ 1641474Smckusick 1749135Skarels #include <machine/frame.h> 1841474Smckusick 1941474Smckusick /* 2041474Smckusick * HP300 process control block 2141474Smckusick */ 2241474Smckusick struct pcb 2341474Smckusick { 2453928Shibler short pcb_flags; /* misc. process flags */ 2553928Shibler short pcb_ps; /* processor status word */ 2653928Shibler int pcb_ustp; /* user segment table pointer */ 2753928Shibler int pcb_usp; /* user stack pointer */ 2853928Shibler 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 */ 3141474Smckusick }; 3241474Smckusick 3354117Smckusick /* 3454117Smckusick * The pcb is augmented with machine-dependent additional data for 35*57320Shibler * core dumps. For the hp300, this includes an HP-UX exec header 36*57320Shibler * which is dumped for HP-UX processes. 3754117Smckusick */ 3854117Smckusick struct md_coredump { 39*57320Shibler int md_exec[16]; /* exec structure for HP-UX core dumps */ 4054117Smckusick }; 41