Disable bzero_page_vfp and bcopy_page_vfp since it really isn't any faster
than memcpy.
This commit is contained in:
parent
5dbef361fb
commit
d71cca3bb3
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: files.arm,v 1.114 2012/12/10 04:58:54 matt Exp $
|
||||
# $NetBSD: files.arm,v 1.115 2013/01/28 06:14:45 matt Exp $
|
||||
|
||||
# temporary define to allow easy moving to ../arch/arm/arm32
|
||||
defflag ARM32
|
||||
|
@ -52,7 +52,7 @@ obsolete defflag ARMFPE
|
|||
|
||||
# VFP support
|
||||
file arch/arm/vfp/vfp_init.c arm32
|
||||
file arch/arm/vfp/pmap_vfp.S arm32 & fpu_vfp
|
||||
#file arch/arm/vfp/pmap_vfp.S arm32 & fpu_vfp
|
||||
|
||||
# PMAP_DEBUG (heavily abused option)
|
||||
defflag PMAP_DEBUG
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: vfp_init.c,v 1.15 2012/12/31 03:23:53 matt Exp $ */
|
||||
/* $NetBSD: vfp_init.c,v 1.16 2013/01/28 06:14:45 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008 ARM Ltd
|
||||
|
@ -280,6 +280,7 @@ vfp_attach(void)
|
|||
}
|
||||
|
||||
#else
|
||||
#if 0
|
||||
static bool
|
||||
vfp_patch_branch(uintptr_t code, uintptr_t func, uintptr_t newfunc)
|
||||
{
|
||||
|
@ -306,6 +307,7 @@ vfp_patch_branch(uintptr_t code, uintptr_t func, uintptr_t newfunc)
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
vfp_attach(void)
|
||||
|
@ -395,10 +397,12 @@ vfp_attach(void)
|
|||
install_coproc_handler(CORE_UNKNOWN_HANDLER, neon_handler);
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
vfp_patch_branch((uintptr_t)pmap_copy_page_generic,
|
||||
(uintptr_t)bcopy_page, (uintptr_t)bcopy_page_vfp);
|
||||
vfp_patch_branch((uintptr_t)pmap_zero_page_generic,
|
||||
(uintptr_t)bzero_page, (uintptr_t)bzero_page_vfp);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* The real handler for VFP bounces. */
|
||||
|
|
Loading…
Reference in New Issue