summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/sun3/sun3/locore.s4
-rw-r--r--sys/arch/sun3/sun3/pmap.c6
2 files changed, 4 insertions, 6 deletions
diff --git a/sys/arch/sun3/sun3/locore.s b/sys/arch/sun3/sun3/locore.s
index b843b27e54e..3f81db4444e 100644
--- a/sys/arch/sun3/sun3/locore.s
+++ b/sys/arch/sun3/sun3/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.10 1997/02/04 01:31:34 kstailey Exp $ */
+/* $OpenBSD: locore.s,v 1.11 1997/02/10 12:24:37 downsj Exp $ */
/* $NetBSD: locore.s,v 1.40 1996/11/06 20:19:54 cgd Exp $ */
/*
@@ -800,8 +800,6 @@ _esigcode:
*/
#include <machine/asm.h>
-/* XXX copypage(fromaddr, toaddr) */
-
/*
* non-local gotos
*/
diff --git a/sys/arch/sun3/sun3/pmap.c b/sys/arch/sun3/sun3/pmap.c
index f052dd84b6b..030c1fe34fe 100644
--- a/sys/arch/sun3/sun3/pmap.c
+++ b/sys/arch/sun3/sun3/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.7 1997/01/16 04:04:31 kstailey Exp $ */
+/* $OpenBSD: pmap.c,v 1.8 1997/02/10 12:24:40 downsj Exp $ */
/* $NetBSD: pmap.c,v 1.64 1996/11/20 18:57:35 gwr Exp $ */
/*-
@@ -3159,7 +3159,7 @@ pmap_copy_page(src, dst)
set_pte(tmp_vpages[0], pte);
pte = PG_PERM | PA_PGNUM(dst);
set_pte(tmp_vpages[1], pte);
- bcopy((char *) tmp_vpages[0], (char *) tmp_vpages[1], NBPG);
+ copypage((char *) tmp_vpages[0], (char *) tmp_vpages[1]);
set_pte(tmp_vpages[0], PG_INVAL);
set_pte(tmp_vpages[0], PG_INVAL);
@@ -3194,7 +3194,7 @@ pmap_zero_page(pa)
/* All mappings to vmp_vpages are non-cached, so no flush. */
pte = PG_PERM | PA_PGNUM(pa);
set_pte(tmp_vpages[0], pte);
- bzero((char *) tmp_vpages[0], NBPG);
+ zeropage((char *) tmp_vpages[0]);
set_pte(tmp_vpages[0], PG_INVAL);
tmp_vpages_inuse--;