ecbbe83144
in_cksum() and related routines are implemented separately for each platform, but only i386 and arm have optimized versions. Other platforms' copies of in_cksum.c are identical except for style differences and support for big-endian CPUs. Deduplicate the implementations for the rest of the platforms. This will make it easier to implement in_cksum() for unmapped mbufs. On arm and i386, define HAVE_MD_IN_CKSUM to mean that the MI implementation is not to be compiled. No functional change intended. Reviewed by: kp, glebius MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33095 |
||
---|---|---|
.. | ||
autoconf.c | ||
bcopy_page.S | ||
bcopyinout_xscale.S | ||
bcopyinout.S | ||
blockio.S | ||
bus_space_asm_generic.S | ||
bus_space_base.c | ||
bus_space_generic.c | ||
busdma_machdep.c | ||
copystr.S | ||
cpu_asm-v6.S | ||
cpufunc_asm_arm11x6.S | ||
cpufunc_asm_armv7.S | ||
cpufunc_asm_pj4b.S | ||
cpufunc_asm.S | ||
cpufunc.c | ||
cpuinfo.c | ||
db_disasm.c | ||
db_interface.c | ||
db_trace.c | ||
debug_monitor.c | ||
disassem.c | ||
dump_machdep.c | ||
elf_machdep.c | ||
elf_note.S | ||
exception.S | ||
exec_machdep.c | ||
fiq_subr.S | ||
fiq.c | ||
fusu.S | ||
gdb_machdep.c | ||
genassym.c | ||
generic_timer.c | ||
gic_acpi.c | ||
gic_common.h | ||
gic_fdt.c | ||
gic_if.m | ||
gic.c | ||
gic.h | ||
hypervisor-stub.S | ||
identcpu-v6.c | ||
in_cksum_arm.S | ||
in_cksum_machdep.c | ||
locore-v6.S | ||
locore.S | ||
machdep_boot.c | ||
machdep_intr.c | ||
machdep_kdb.c | ||
machdep_ptrace.c | ||
machdep.c | ||
mem.c | ||
minidump_machdep.c | ||
mp_machdep.c | ||
mpcore_timer.c | ||
mpcore_timervar.h | ||
nexus.c | ||
nexusvar.h | ||
ofw_machdep.c | ||
pl310.c | ||
platform_if.m | ||
platform_pl310_if.m | ||
platform.c | ||
pmap-v6.c | ||
pmu_acpi.c | ||
pmu_fdt.c | ||
pmu.c | ||
pmu.h | ||
ptrace_machdep.c | ||
sc_machdep.c | ||
setcpsr.S | ||
setstack.s | ||
sp804.c | ||
stack_machdep.c | ||
stdatomic.c | ||
support.S | ||
swtch-v6.S | ||
swtch.S | ||
sys_machdep.c | ||
syscall.c | ||
trap-v6.c | ||
uio_machdep.c | ||
undefined.c | ||
unwind.c | ||
vfp.c | ||
vm_machdep.c |