opnsense-src/sys/amd64
Mark Johnston 1d250ec707 netinet: Deduplicate most in_cksum() implementations
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
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit ecbbe83144)
2021-12-01 07:42:43 -05:00
..
acpica amd64 wakeup: rework trampoline page allocation 2021-09-20 03:47:21 +03:00
amd64 netinet: Deduplicate most in_cksum() implementations 2021-12-01 07:42:43 -05:00
cloudabi32 Get rid of sa->narg. It serves no purpose; use sa->callp->sy_narg instead. 2020-09-27 18:47:06 +00:00
cloudabi64 Get rid of sa->narg. It serves no purpose; use sa->callp->sy_narg instead. 2020-09-27 18:47:06 +00:00
conf amd64: Add MD bits for KASAN 2021-11-01 10:02:41 -04:00
ia32 amd64/ia32/ia32_signal.c: Use ANSI C functions definitions 2021-11-16 02:45:30 +02:00
include netinet: Remove in_cksum_update() 2021-12-01 07:41:55 -05:00
linux amd64: consistently use uprintf() to report weird situations in sigreturn 2021-10-10 12:21:17 +03:00
linux32 amd64: centralize definitions of CS_SECURE and EFL_SECURE 2021-10-10 12:21:17 +03:00
pci pci_cfgreg.c: Use io port config access for early boot time. 2019-04-09 18:07:17 +00:00
sgx Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
vmm vlapic: Schedule callouts on the local CPU 2021-11-03 09:15:18 -04:00
Makefile Bring the tags and links entries for amd64 up to date. 2021-10-07 16:01:46 -07:00