Correct a few sizeof()s

Submitted by:	swildner@DragonFlyBSD.org
Reviewed by:	alfred


git-svn-id: svn://svn.freebsd.org/base/head@250131 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix incorrect sizeof() in bzero()

Submitted by:	swildner@DragonFlyBSD.org
Reviewed by:	alfred, jmallett


git-svn-id: svn://svn.freebsd.org/base/head@250132 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make the internal assertion correct--only fail when '\0' is found in
places other than the end of the test section. Otherwise, with kernel
compiled with Clang which happens to be setting ELF section alignment
differently config(8) was throwing assert() failure unnecessarily

Reported by:	Kimmo Paasiala <kpaasial (at) gmail.com>
Tested by:	Kimmo Paasiala <kpaasial (at) gmail.com>
MFC after:	10 days


git-svn-id: svn://svn.freebsd.org/base/head@250133 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Import virgin regdef.h from 4.4 Lite 2's sys/pmax/include/regdef.h,
expand the %sccs.include.redist.c% directive with the standard
3-clause license, and add $FreeBSD$ to keep the commit script happy.

# This may break some mips stuff, which will be fixed in the next commit.


git-svn-id: svn://svn.freebsd.org/base/head@250134 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add the standard #ifdef header protection.


git-svn-id: svn://svn.freebsd.org/base/head@250135 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Import NetBSD's version, which is perfectly fine.

Submitted by:	jmallet@


git-svn-id: svn://svn.freebsd.org/base/head@250136 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove asm.h dependency in a hackish way.
Fixed comment.


git-svn-id: svn://svn.freebsd.org/base/head@250137 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Don't include asm.h in non-asm files.
Remove #define to get kludges that asm.h used to define
Move clever macros to access assembler instructions to trap.c
Remove __ASSEMBLER__ ifdefs in regdef.h: they aren't needed anymore.


git-svn-id: svn://svn.freebsd.org/base/head@250138 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add a historic footnote.


git-svn-id: svn://svn.freebsd.org/base/head@250139 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Optimize SUBDIR_OVERRIDE such that SUBDIR isn't automatically defined if
SUBDIR_OVERRIDE is defined.

PR:		conf/174071
Submitted by:	Garrett Cooper <yaneurabeya@gmail.com>
Sponsored by:	EMC / Isilon Storage Division


git-svn-id: svn://svn.freebsd.org/base/head@250143 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge remote-tracking branch 'upstream/master'