summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1999-07-20 14:13:33 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1999-07-20 14:13:33 +0000
commit5ca1cc0efb3a9dd0b35aa844284699a81b8b9794 (patch)
treebecc9db25a6474a39ee930ec14573a10f46dc729 /sys/arch
parent27e8df2bf520f61e3797f826d6c1ec3d5cec6c13 (diff)
export cr28 for DEBUGging purposes
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa/hppa/genassym.cf3
-rw-r--r--sys/arch/hppa/include/frame.h7
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/hppa/hppa/genassym.cf b/sys/arch/hppa/hppa/genassym.cf
index d79ce4c6d4f..ba3a7ca7995 100644
--- a/sys/arch/hppa/hppa/genassym.cf
+++ b/sys/arch/hppa/hppa/genassym.cf
@@ -1,4 +1,4 @@
-# $OpenBSD: genassym.cf,v 1.12 1999/07/12 18:14:28 mickey Exp $
+# $OpenBSD: genassym.cf,v 1.13 1999/07/20 14:13:32 mickey Exp $
#
# Copyright (c) 1982, 1990, 1993
@@ -168,6 +168,7 @@ define TF_SR6 offsetof(struct trapframe, tf_sr6)
define TF_SR7 offsetof(struct trapframe, tf_sr7)
define TF_CR24 offsetof(struct trapframe, tf_hptm)
define TF_CR25 offsetof(struct trapframe, tf_vtop)
+define TF_CR28 offsetof(struct trapframe, tf_cr28)
# proc fields and values
struct proc
diff --git a/sys/arch/hppa/include/frame.h b/sys/arch/hppa/include/frame.h
index 3db91df4b81..7025afaafc1 100644
--- a/sys/arch/hppa/include/frame.h
+++ b/sys/arch/hppa/include/frame.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: frame.h,v 1.6 1999/06/18 05:19:59 mickey Exp $ */
+/* $OpenBSD: frame.h,v 1.7 1999/07/20 14:13:32 mickey Exp $ */
/*
* Copyright (c) 1999 Michael Shalayeff
@@ -49,8 +49,8 @@ struct hppa_frame {
register_t f_rp;
register_t f_r3 , f_r4 , f_r5 , f_r6 , f_r7 , f_r8 , f_r9 , f_r10,
f_r11, f_r12, f_r13, f_r14, f_r15, f_r16, f_r17, f_r18;
- register_t f_sp;
register_t f_args[HPPA_FRAME_NARGS];
+ register_t f_sp;
register_t f_pad[2];
/* locals goes here */
};
@@ -126,8 +126,9 @@ struct trapframe {
u_int tf_hptm; /* cr24 */
u_int tf_vtop; /* cr25 */
u_int tf_tr2; /* cr26 */
+ u_int tf_cr28;
- u_int tf_pad[5]; /* pad to 256 bytes */
+ u_int tf_pad[4]; /* pad to 256 bytes */
};
#endif /* !_LOCORE */