From ed346cc16a6b756259ae1ae802bb242a8228aeef Mon Sep 17 00:00:00 2001 From: mark Date: Wed, 17 Jun 1998 20:14:07 +0000 Subject: [PATCH] Removed the kcopy() function as this is now implemented in bcopyinout.S. --- sys/arch/arm32/arm32/locore.S | 40 +---------------------------------- 1 file changed, 1 insertion(+), 39 deletions(-) diff --git a/sys/arch/arm32/arm32/locore.S b/sys/arch/arm32/arm32/locore.S index d38e89737ca1..3bb39d1a2d19 100644 --- a/sys/arch/arm32/arm32/locore.S +++ b/sys/arch/arm32/arm32/locore.S @@ -1,4 +1,4 @@ -/* $NetBSD: locore.S,v 1.25 1998/06/02 20:41:48 mark Exp $ */ +/* $NetBSD: locore.S,v 1.26 1998/06/17 20:14:07 mark Exp $ */ /* * Copyright (C) 1994-1997 Mark Brinicombe @@ -517,42 +517,4 @@ ENTRY(atomic_clear_bit) msr cpsr_all, r2 mov pc, lr -#if defined(UVM) -/* - * kcopy(caddr_t from, caddr_t to, size_t len); - * - * Copy len bytes, abort on fault. - */ -Lcurpcb: - .word _curpcb - -ENTRY(kcopy) - teq r2, #0x00000000 - moveq r0, #0x00000000 - moveq pc, lr - - stmfd sp!, {r4, lr} - ldr r4, Lcurpcb - ldr r4, [r4] - - add r3, pc, #Lkcopyfault - . - 8 - str r3, [r4, #PCB_ONFAULT] - -Lkcopy_loop: - ldrb r3, [r0], #0x0001 - strb r3, [r1], #0x0001 - subs r2, r2, #1 - bne Lkcopy_loop - - mov r0, #0x00000000 - str r0, [r4, #PCB_ONFAULT] - ldmfd sp!, {r4, pc} - -Lkcopyfault: - mov r0, #0x00000000 - str r0, [r4, #PCB_ONFAULT] - mov r0, #EFAULT - ldmfd sp!, {r4, pc} -#endif - /* End of locore.S */