summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1999-09-14 00:51:20 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1999-09-14 00:51:20 +0000
commit34bfe0b0e61bf1ae13f4a08a270a72b4e26db92d (patch)
tree37e5e0348166acf8b68db5e8cd34aaa7bff4e3a2 /sys/lib/libkern/arch
parent18a15422e6eeb340783aa6780bd8fa9622f98154 (diff)
bew frame framework
Diffstat (limited to 'sys/lib/libkern/arch')
-rw-r--r--sys/lib/libkern/arch/hppa/bcopy.m47
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/lib/libkern/arch/hppa/bcopy.m4 b/sys/lib/libkern/arch/hppa/bcopy.m4
index a57d42cfdbf..16b1f00d676 100644
--- a/sys/lib/libkern/arch/hppa/bcopy.m4
+++ b/sys/lib/libkern/arch/hppa/bcopy.m4
@@ -1,4 +1,4 @@
-define(_rcsid,``$OpenBSD: bcopy.m4,v 1.2 1999/06/10 19:52:23 mickey Exp $'')dnl
+define(_rcsid,``$OpenBSD: bcopy.m4,v 1.3 1999/09/14 00:51:19 mickey Exp $'')dnl
dnl
dnl
dnl This is the source file for bcopy.S, spcopy.S
@@ -192,7 +192,10 @@ L($1, byte_loop)
L($1, done)
')dnl
`
+#undef _LOCORE
+#define _LOCORE
#include <machine/asm.h>
+#include <machine/frame.h>
'
ifelse(NAME, `bcopy',
`
@@ -236,7 +239,7 @@ ifelse(NAME, `spcopy',
.import curproc, data
.import copy_on_fault, code
ENTRY(spcopy)
- ldw VA_ARG4(sp), ret1
+ ldw HPPA_FRAME_ARG(4)(sp), ret1
comb,>=,n r0, ret1, L(spcopy, ret)
`
/* setup fault handler */