projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add basic data types
[unix-history]
/
usr
/
src
/
sys
/
vax
/
include
/
pcb.h
diff --git
a/usr/src/sys/vax/include/pcb.h
b/usr/src/sys/vax/include/pcb.h
index
06722fe
..
92958af
100644
(file)
--- a/
usr/src/sys/vax/include/pcb.h
+++ b/
usr/src/sys/vax/include/pcb.h
@@
-1,11
+1,14
@@
-/* pcb.h 4.2 %G% */
+/*-
+ * Copyright (c) 1982, 1986 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * %sccs.include.proprietary.c%
+ *
+ * @(#)pcb.h 7.2 (Berkeley) %G%
+ */
/*
* VAX process control block
/*
* VAX process control block
- *
- * THE SIZE OF THE pcb, AS INFLUENCED BY THE SIZE OF THE SOFTWARE
- * EXTENSION, IS KNOWN IN THE #ifdef FASTVAX'ed DEFINITIONS OF THE
- * OFFSETS OF U_ARG and U_QSAV IN THE FILE user.h.
*/
struct pcb
*/
struct pcb
@@
-27,7
+30,9
@@
struct pcb
int pcb_r10;
int pcb_r11;
int pcb_r12;
int pcb_r10;
int pcb_r11;
int pcb_r12;
+#define pcb_ap pcb_r12
int pcb_r13;
int pcb_r13;
+#define pcb_fp pcb_r13
int pcb_pc; /* program counter */
int pcb_psl; /* program status longword */
struct pte *pcb_p0br; /* seg 0 base register */
int pcb_pc; /* program counter */
int pcb_psl; /* program status longword */
struct pte *pcb_p0br; /* seg 0 base register */
@@
-40,7
+45,7
@@
struct pcb
int pcb_szpt; /* number of pages of user page table */
int pcb_cmap2;
int *pcb_sswap;
int pcb_szpt; /* number of pages of user page table */
int pcb_cmap2;
int *pcb_sswap;
- int pcb_sigc[
3
];
+ int pcb_sigc[
5
];
};
#define AST_NONE 0x04000000 /* ast level */
};
#define AST_NONE 0x04000000 /* ast level */
@@
-50,15
+55,14
@@
struct pcb
#define ASTLVL_USER 3
#define AST_CLR 0x07000000
#define ASTLVL_USER 3
#define AST_CLR 0x07000000
+#define PME_CLR 0x80000000
#define aston() \
{ \
#define aston() \
{ \
- u.u_pcb.pcb_p0lr = (u.u_pcb.pcb_p0lr &~ AST_CLR) | AST_USER; \
mtpr(ASTLVL, ASTLVL_USER); \
}
#define astoff() \
{ \
mtpr(ASTLVL, ASTLVL_USER); \
}
#define astoff() \
{ \
- u.u_pcb.pcb_p0lr = (u.u_pcb.pcb_p0lr &~ AST_CLR) | AST_NONE; \
mtpr(ASTLVL, ASTLVL_NONE); \
}
mtpr(ASTLVL, ASTLVL_NONE); \
}