summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpefo <pefo@openbsd.org>1998-08-25 07:44:21 +0000
committerpefo <pefo@openbsd.org>1998-08-25 07:44:21 +0000
commiteca2c144f36158fbfd3f0a6b1a796a013fb76807 (patch)
treec90642818ddf822e7f2ed13077dd3129cb71c7ec
parentLocal macro (diff)
downloadwireguard-openbsd-eca2c144f36158fbfd3f0a6b1a796a013fb76807.tar.xz
wireguard-openbsd-eca2c144f36158fbfd3f0a6b1a796a013fb76807.zip
Make faultbuf a struct
-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 */