summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/include
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1998-08-25 07:44:22 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1998-08-25 07:44:22 +0000
commitaee5a074caaebb90fb09cafd78cd2b08ab848426 (patch)
tree91e55c20c21ba8a681d2a4269aaa73cc155f250d /sys/arch/powerpc/include
parentf75d4932f2c265fe22871edd130c7d18a1878f6d (diff)
Make faultbuf a struct
Diffstat (limited to 'sys/arch/powerpc/include')
-rw-r--r--sys/arch/powerpc/include/pcb.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/arch/powerpc/include/pcb.h b/sys/arch/powerpc/include/pcb.h
index ea32d4bbcab..201ce3cffa4 100644
--- a/sys/arch/powerpc/include/pcb.h
+++ b/sys/arch/powerpc/include/pcb.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcb.h,v 1.3 1998/08/07 02:22:03 rahnds Exp $ */
+/* $OpenBSD: pcb.h,v 1.4 1998/08/25 07:44:21 pefo Exp $ */
/* $NetBSD: pcb.h,v 1.1 1996/09/30 16:34:29 ws Exp $ */
/*-
@@ -35,7 +35,15 @@
#define _MACHINE_PCB_H_
#include <machine/reg.h>
-typedef int faultbuf[24];
+
+
+typedef struct __faultbuf {
+ int pc;
+ int sr;
+ int sp;
+ int cr;
+ int regs[20];
+} faultbuf;
struct pcb {
struct pmap *pcb_pm; /* pmap of our vmspace */