* Copyright (c) 1982, 1986 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
* @(#)pcb.h 7.1 (Berkeley) %G%
* VAX process control block
int pcb_ksp
; /* kernel stack pointer */
int pcb_esp
; /* exec stack pointer */
int pcb_ssp
; /* supervisor stack pointer */
int pcb_usp
; /* user stack pointer */
int pcb_pc
; /* program counter */
int pcb_psl
; /* program status longword */
struct pte
*pcb_p0br
; /* seg 0 base register */
int pcb_p0lr
; /* seg 0 length register and astlevel */
struct pte
*pcb_p1br
; /* seg 1 base register */
int pcb_p1lr
; /* seg 1 length register and pme */
* Software pcb (extension)
int pcb_szpt
; /* number of pages of user page table */
#define AST_NONE 0x04000000 /* ast level */
#define AST_USER 0x03000000 /* ast for user mode */
#define AST_CLR 0x07000000
#define PME_CLR 0x80000000
mtpr(ASTLVL, ASTLVL_USER); \
mtpr(ASTLVL, ASTLVL_NONE); \