Date: Thu, 10 May 2018 02:31:38 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r333443 - in head/sys: conf libkern powerpc/powerpc Message-ID: <201805100231.w4A2VcZi054268@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Thu May 10 02:31:38 2018 New Revision: 333443 URL: https://svnweb.freebsd.org/changeset/base/333443 Log: Move MI-ish bcopy routine to libkern riscv and powerpc have nearly identical bcopy.c that's supposed to be mostly MI. Move it to the MI libkern. Differential Revision: https://reviews.freebsd.org/D15374 Added: head/sys/libkern/bcopy.c (contents, props changed) - copied, changed from r333436, head/sys/powerpc/powerpc/bcopy.c Deleted: head/sys/powerpc/powerpc/bcopy.c Modified: head/sys/conf/files.powerpc head/sys/conf/files.riscv Modified: head/sys/conf/files.powerpc ============================================================================== --- head/sys/conf/files.powerpc Thu May 10 00:04:14 2018 (r333442) +++ head/sys/conf/files.powerpc Thu May 10 02:31:38 2018 (r333443) @@ -85,6 +85,7 @@ kern/subr_sfbuf.c standard libkern/ashldi3.c optional powerpc | powerpcspe libkern/ashrdi3.c optional powerpc | powerpcspe libkern/bcmp.c standard +libkern/bcopy.c standard libkern/cmpdi2.c optional powerpc | powerpcspe libkern/divdi3.c optional powerpc | powerpcspe libkern/ffs.c standard @@ -195,7 +196,6 @@ powerpc/powernv/powernv_centaur.c optional powernv powerpc/powernv/powernv_xscom.c optional powernv powerpc/powerpc/altivec.c optional powerpc | powerpc64 powerpc/powerpc/autoconf.c standard -powerpc/powerpc/bcopy.c standard powerpc/powerpc/bus_machdep.c standard powerpc/powerpc/busdma_machdep.c standard powerpc/powerpc/clock.c standard Modified: head/sys/conf/files.riscv ============================================================================== --- head/sys/conf/files.riscv Thu May 10 00:04:14 2018 (r333442) +++ head/sys/conf/files.riscv Thu May 10 02:31:38 2018 (r333443) @@ -12,6 +12,7 @@ kern/kern_clocksource.c standard kern/subr_devmap.c standard kern/subr_dummy_vdso_tc.c standard libkern/bcmp.c standard +libkern/bcopy.c standard libkern/ffs.c standard libkern/ffsl.c standard libkern/ffsll.c standard @@ -21,7 +22,6 @@ libkern/flsll.c standard libkern/memmove.c standard libkern/memset.c standard riscv/riscv/autoconf.c standard -riscv/riscv/bcopy.c standard riscv/riscv/bus_machdep.c standard riscv/riscv/bus_space_asm.S standard riscv/riscv/busdma_machdep.c standard Copied and modified: head/sys/libkern/bcopy.c (from r333436, head/sys/powerpc/powerpc/bcopy.c) ==============================================================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805100231.w4A2VcZi054268>