summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1999-04-20 19:46:23 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1999-04-20 19:46:23 +0000
commit9e6ad25b63ac7dfe87d52ba61d8c9a00d3fe23c4 (patch)
tree46cb4362a02a2f0cfd60ff04deb685d44a26c98e /sys/arch
parenta0f3fa83f0a95debd343df5f1dc89bdedbd35fdd (diff)
add onfault handler and cache the space id into pcb; better coredump
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa/include/pcb.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/sys/arch/hppa/include/pcb.h b/sys/arch/hppa/include/pcb.h
index e7aa5c43ac7..a1a9f502a11 100644
--- a/sys/arch/hppa/include/pcb.h
+++ b/sys/arch/hppa/include/pcb.h
@@ -1,12 +1,20 @@
-/* $OpenBSD: pcb.h,v 1.2 1999/02/25 17:36:53 mickey Exp $ */
+/* $OpenBSD: pcb.h,v 1.3 1999/04/20 19:46:22 mickey Exp $ */
+#ifndef _MACHINE_PCB_H_
+#define _MACHINE_PCB_H_
+
+#include <machine/reg.h>
struct pcb {
struct trapframe pcb_tf;
+ /* would be nice to align to cache line size here XXX */
+ int (*pcb_onfault) __P((void)); /* SW copy fault handler */
+ pa_space_t pcb_space; /* copy pmap_space, for asm's sake */
};
-
struct md_coredump {
- struct trapframe md_tf;
+ struct reg md_reg;
};
+
+#endif /* _MACHINE_PCB_H_ */