Garbage-collect extra copypage().

This commit is contained in:
thorpej 1997-02-02 08:25:23 +00:00
parent 07ded04c6f
commit 2d04a07129
1 changed files with 1 additions and 33 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore.s,v 1.17 1997/01/16 17:30:20 gwr Exp $ */
/* $NetBSD: locore.s,v 1.18 1997/02/02 08:25:23 thorpej Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -1047,38 +1047,6 @@ Ldorte:
#define ALTENTRY(name, rname) ENTRY(name)
#endif
/*
* copypage(fromaddr, toaddr)
*
* Optimized version of bcopy for a single page-aligned NBPG byte copy.
*/
ENTRY(copypage)
movl sp@(4),a0 | source address
movl sp@(8),a1 | destination address
movl #NBPG/32,d0 | number of 32 byte chunks
#if defined(M68040)
cmpl #MMU_68040,_mmutype | 68040?
jne Lmlloop | no, use movl
Lm16loop:
.long 0xf6209000 | move16 a0@+,a1@+
.long 0xf6209000 | move16 a0@+,a1@+
subql #1,d0
jne Lm16loop
rts
#endif
Lmlloop:
movl a0@+,a1@+
movl a0@+,a1@+
movl a0@+,a1@+
movl a0@+,a1@+
movl a0@+,a1@+
movl a0@+,a1@+
movl a0@+,a1@+
movl a0@+,a1@+
subql #1,d0
jne Lmlloop
rts
/*
* non-local gotos
*/