Home | History | Annotate | only in /src/sys/lib/libkern/arch/i386
History log of /src/sys/lib/libkern/arch/i386
RevisionDateAuthorComments
 1.6 10-Sep-1999  drochner -don't use DEFS.h nor SYS.h in libkern
-remove setjmp.S, it's not useful for libkern
 1.5 13-Oct-1997  lukem rcsid fascism
 1.4 07-Oct-1995  mycroft branches: 1.4.14;
Update from libc.
 1.3 05-Feb-1995  mycroft Sync with libc.
 1.2 26-Oct-1994  cgd new RCS ID format.
 1.1 05-Nov-1993  cgd branches: 1.1.2;
added files copied in from libc. version numbers are screwed,
but are screwed for the rest of libkern's files, anyway.
 1.1.2.2 05-Nov-1993  cgd added files copied in from libc. version numbers are screwed,
but are screwed for the rest of libkern's files, anyway.
 1.1.2.1 05-Nov-1993  cgd file DEFS.h was added on branch magnum on 1993-11-05 22:40:56 +0000
 1.4.14.1 14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.32 27-Jan-2020  ad Make x86 use the C version of memcmp().
 1.31 14-Aug-2009  dsl branches: 1.31.64; 1.31.70;
Move that majority of the 'SRCS+= foo.c' into the main Makefile.libkern.
Any .S files added by the arch/*/Makefile.inc cause the .c file to
be excluded.
Specific exclusions added using NO_SRCS to match previous files.
At least sparc, sparc64, i386, amd64 and vax GENERIC still build.
(There is a fubar with the naming of the byte-swap files ...)
 1.30 12-Aug-2009  skrll Put back random.S. Hi dsl!
 1.29 12-Aug-2009  dsl Split the lines that add .c to SRCS from those that add .S
No changes (apart from the order) intended.
 1.28 25-Mar-2009  darran Fixes PR kern/41069 and PR kern/41070.

Extends the Opencrypto API to allow the destination buffer size to be
specified when its not the same size as the input buffer (i.e. for
operations like compress and decompress).
The crypto_op and crypt_n_op structures gain a u_int dst_len field.
The session_op structure gains a comp_alg field to specify a compression
algorithm.
Moved four ioctls to new ids; CIOCGSESSION, CIOCNGSESSION, CIOCCRYPT,
and CIOCNCRYPTM.
Added four backward compatible ioctls; OCIOCGSESSION, OCIOCNGSESSION,
OCIOCCRYPT, and OCIOCNCRYPTM.

Backward compatibility is maintained in ocryptodev.h and ocryptodev.c which
implement the original ioctls and set dst_len and comp_alg to 0.

Adds user-space access to compression features.

Adds software gzip support (CRYPTO_GZIP_COMP).

Adds the fast version of crc32 from zlib to libkern. This should be generally
useful and provide a place to start normalizing the various crc32 routines
in the kernel. The crc32 routine is used in this patch to support GZIP.

With input and support from tls@NetBSD.org.
 1.27 11-Dec-2005  christos branches: 1.27.74; 1.27.84; 1.27.86; 1.27.90; 1.27.94;
merge ktrace-lwp.
 1.26 26-Oct-2003  junyoung Remove bcmp.S and bzero.S from list. They were doing nothing but wasting
kernel bits for a long time (2 years?).
 1.25 05-Apr-2001  thorpej branches: 1.25.22;
Build strtoul.c
 1.24 01-Nov-2000  thorpej branches: 1.24.2;
Add a strcasecmp(), modified from chopps's strncasecmp().
 1.23 15-Jan-1999  bouyer branches: 1.23.8;
Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
 1.22 04-Aug-1998  perry add memcmp.S
 1.21 04-Aug-1998  perry Fix formatting, and add memmove.S
 1.20 22-Feb-1998  mycroft Move random.S from arch/i386/i386.
 1.19 22-Feb-1998  mycroft Add strchr.S and strrchr.S.
 1.18 22-Feb-1998  mycroft Sync with libc.
 1.17 22-Feb-1998  mycroft Add some missing things.
 1.16 21-Jan-1998  cgd add rules like those in libc to build strchr() and strrchr() (the latter
is being added to libkern by this commit). remove strchr.c from
archs' Makefile.inc files to go along with this. (If an arch has
a .S version, it should be copied down and added to the apropriate
Makefile.inc.)
 1.15 24-Oct-1997  chuck add memchr() to libkern
 1.14 09-Oct-1997  bouyer Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern.
Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses
bswap32). Contribution of assembly versions of these are welcome.
Add byte-swapping of ext2fs metadata for big-endian systems.
Tested on i386 and sparc.
 1.13 18-Jan-1997  cgd branches: 1.13.8;
add strchr() to libkern. strchr.c copied from libc's "index.c", but with
appropriate definitions so that it'll build strchr(), and so that it builds
correctly in libkern (needed to #define NULL).
 1.12 27-Aug-1996  cgd Add machine-independent assertion-checking support. macros are:

assert() which always does assertion checking
unless "NDEBUG" is defined.

KASSERT() which does assertion checking if DIAGNOSTIC
is defined.

KDASSERT() which does assertion checking if DEBUG is
define. This macro exists for compatibility
with existing ports' assertion checking macros.
(Assertion checking is not typically an
"expensive" operation, and DIAGNOSTIC should be
used for inexpensive consistency checks.)
 1.11 10-Jun-1996  cgd locc() is unused. Remove it from the machine-independent kernel interface.
 1.10 13-Apr-1996  cgd add strncasecmp.c to ports' libkern Makefile.inc's. When adding a new
source file to libkern, it should be added to _ALL_ ports makefiles if
it is machine-independent and used by machine-independent code (in
this case adosfs). (There are several arguments that say that
strncasecmp should not be in libkern at all, and i think they're
good ones, but as long as ADOSFS needs it to link, it has to be here
for all architectures.)
 1.9 11-Mar-1996  scottr Back out previous change.
 1.8 11-Mar-1996  thorpej Provide a memset() for the i386 (assembly version), and move memset.c
out into the libkern proper in case other ports want to use it.
i386 kernels with COMPAT_LINUX should compile now.
 1.7 07-Oct-1995  mycroft Remove bzero.S and setjmp.S, as these functions are in locore.
 1.6 26-Oct-1994  cgd new RCS ID format.
 1.5 24-Feb-1994  mycroft Assembler versions of these.
 1.4 04-Dec-1993  cgd use .S files
 1.3 15-Oct-1993  cgd branches: 1.3.2;
add strncmp to anything
 1.2 15-Oct-1993  cgd add __main()
 1.1 13-Oct-1993  cgd move 'boot' and 'libkern' into 'lib'. generally clean up 'kernel library'
building and dependencies.
 1.3.2.2 04-Dec-1993  cgd use quad support; we need it
 1.3.2.1 15-Oct-1993  cgd file Makefile.inc was added on branch magnum on 1993-12-04 05:07:53 +0000
 1.13.8.1 14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.23.8.2 21-Apr-2001  bouyer Sync with HEAD
 1.23.8.1 22-Nov-2000  bouyer Sync with HEAD.
 1.24.2.1 09-Apr-2001  nathanw Catch up with -current.
 1.25.22.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.25.22.2 18-Sep-2004  skrll Sync with HEAD.
 1.25.22.1 03-Aug-2004  skrll Sync with HEAD
 1.27.94.1 21-Apr-2010  matt sync to netbsd-5
 1.27.90.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.27.86.1 03-May-2009  snj Pull up following revision(s) (requested by tls in ticket #611):
sys/lib/libkern/Makefile: patch
sys/lib/libkern/crc32.c: revision 1.1
sys/lib/libkern/crc32.h: revision 1.1
sys/lib/libkern/libkern.h: revision 1.89
sys/lib/libkern/arch/i386/Makefile.inc: revision 1.28
sys/net/zlib.h: revision 1.14 via patch
sys/opencrypto/crypto.c: revision 1.33
sys/opencrypto/cryptodev.c: revision 1.46
sys/opencrypto/cryptodev.h: revision 1.16
sys/opencrypto/cryptosoft.c: revision 1.24
sys/opencrypto/cryptosoft.h: revision 1.6
sys/opencrypto/deflate.h: revision 1.6
sys/opencrypto/cryptosoft_xform.c: revision 1.12
sys/opencrypto/deflate.c: revision 1.13
sys/opencrypto/files.opencrypto: revision 1.20
sys/opencrypto/ocryptodev.c: revision 1.1
sys/opencrypto/ocryptodev.h: revision 1.1
sys/opencrypto/xform.c: revision 1.18
sys/opencrypto/xform.h: revision 1.10
Fixes PR kern/41069 and PR kern/41070.

Extends the Opencrypto API to allow the destination buffer size to be
specified when its not the same size as the input buffer (i.e. for
operations like compress and decompress).
The crypto_op and crypt_n_op structures gain a u_int dst_len field.
The session_op structure gains a comp_alg field to specify a compression
algorithm.
Moved four ioctls to new ids; CIOCGSESSION, CIOCNGSESSION, CIOCCRYPT,
and CIOCNCRYPTM.
Added four backward compatible ioctls; OCIOCGSESSION, OCIOCNGSESSION,
OCIOCCRYPT, and OCIOCNCRYPTM.

Backward compatibility is maintained in ocryptodev.h and ocryptodev.c which
implement the original ioctls and set dst_len and comp_alg to 0.

Adds user-space access to compression features.

Adds software gzip support (CRYPTO_GZIP_COMP).

Adds the fast version of crc32 from zlib to libkern. This should be generally
useful and provide a place to start normalizing the various crc32 routines
in the kernel. The crc32 routine is used in this patch to support GZIP.

With input and support from tls@NetBSD.org.
 1.27.84.1 28-Apr-2009  skrll Sync with HEAD.
 1.27.74.2 19-Aug-2009  yamt sync with head.
 1.27.74.1 04-May-2009  yamt sync with head.
 1.31.70.1 29-Feb-2020  ad Sync with head.
 1.31.64.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.10 10-Sep-1999  drochner -don't use DEFS.h nor SYS.h in libkern
-remove setjmp.S, it's not useful for libkern
 1.9 23-Aug-1999  kleink Sync with libc: use _ALIGN_TEXT from <machine/asm.h>.
 1.8 22-Feb-1998  mycroft Move random.S from arch/i386/i386.
 1.7 22-Feb-1998  mycroft Sync with libc.
 1.6 13-Oct-1997  lukem rcsid fascism
 1.5 07-Oct-1995  mycroft branches: 1.5.14;
Update from libc.
 1.4 05-Feb-1995  mycroft Sync with libc.
 1.3 26-Oct-1994  cgd new RCS ID format.
 1.2 15-Feb-1994  mycroft Update from libc.
 1.1 05-Nov-1993  cgd branches: 1.1.2;
added files copied in from libc. version numbers are screwed,
but are screwed for the rest of libkern's files, anyway.
 1.1.2.2 05-Nov-1993  cgd added files copied in from libc. version numbers are screwed,
but are screwed for the rest of libkern's files, anyway.
 1.1.2.1 05-Nov-1993  cgd file SYS.h was added on branch magnum on 1993-11-05 22:40:58 +0000
 1.5.14.1 14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.7 26-Oct-2003  junyoung Goodbye to bcmp.S, bcopy.S, and bzero.S. They are defined as macros in
sys/systm.h.
 1.6 22-Feb-1998  mycroft branches: 1.6.48;
Move random.S from arch/i386/i386.
 1.5 07-Oct-1995  mycroft Update from libc.
 1.4 05-Feb-1995  mycroft Sync with libc.
 1.3 26-Oct-1994  cgd new RCS ID format.
 1.2 28-Jan-1994  jtc Fix spelling error in Copyright notice
 1.1 04-Dec-1993  cgd branches: 1.1.2;
change to use MACHINE_ARCH and update from libc
 1.1.2.2 04-Dec-1993  cgd change to use MACHINE_ARCH and update from libc
 1.1.2.1 04-Dec-1993  cgd file bcmp.S was added on branch magnum on 1993-12-04 03:05:17 +0000
 1.6.48.1 03-Aug-2004  skrll Sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 27-Oct-1993  jtc Did a ``make copy-to-libkern'' from libc to copy libc files to libkern.
Checking them in to make people happy.
 1.5 26-Oct-2003  junyoung Goodbye to bcmp.S, bcopy.S, and bzero.S. They are defined as macros in
sys/systm.h.
 1.4 15-Apr-2003  dsl branches: 1.4.2;
Significantly faster memcpy/memmove/bcopy and memset/bzero
 1.3 10-Jul-2002  kent Avoid redundant memory access.
 1.2 22-Feb-1998  mycroft branches: 1.2.26; 1.2.28; 1.2.40;
Move random.S from arch/i386/i386.
 1.1 22-Feb-1998  mycroft Sync with libc.
 1.2.40.1 15-Jul-2002  gehenna catch up with -current.
 1.2.28.1 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.2.26.1 01-Aug-2002  nathanw Catch up to -current.
 1.4.2.1 03-Aug-2004  skrll Sync with HEAD
 1.3 15-Jan-1999  bouyer Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
 1.2 13-Oct-1997  lukem branches: 1.2.2;
rcsid fascism
 1.1 09-Oct-1997  bouyer Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern.
Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses
bswap32). Contribution of assembly versions of these are welcome.
Add byte-swapping of ext2fs metadata for big-endian systems.
Tested on i386 and sparc.
 1.2.2.2 14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.2.2.1 13-Oct-1997  thorpej file bswap16.S was added on branch marc-pcmcia on 1997-10-14 10:27:28 +0000
 1.3 15-Jan-1999  bouyer Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
 1.2 13-Oct-1997  lukem branches: 1.2.2;
rcsid fascism
 1.1 09-Oct-1997  bouyer Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern.
Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses
bswap32). Contribution of assembly versions of these are welcome.
Add byte-swapping of ext2fs metadata for big-endian systems.
Tested on i386 and sparc.
 1.2.2.2 14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.2.2.1 13-Oct-1997  thorpej file bswap32.S was added on branch marc-pcmcia on 1997-10-14 10:27:29 +0000
 1.5 20-Dec-2005  christos Use common sources with userland.
 1.4 11-Dec-2005  christos merge ktrace-lwp.
 1.3 07-Aug-2003  agc branches: 1.3.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.2 14-Dec-2000  mycroft branches: 1.2.24;
ALTENTRY() must die.
 1.1 15-Jan-1999  bouyer branches: 1.1.8;
Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
 1.1.8.1 05-Jan-2001  bouyer Sync with HEAD
 1.2.24.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.24.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.24.1 03-Aug-2004  skrll Sync with HEAD
 1.3.16.1 21-Jun-2006  yamt sync with head.
 1.5 20-Dec-2005  christos Use common sources with userland.
 1.4 11-Dec-2005  christos merge ktrace-lwp.
 1.3 07-Aug-2003  agc branches: 1.3.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.2 14-Dec-2000  mycroft branches: 1.2.24;
ALTENTRY() must die.
 1.1 15-Jan-1999  bouyer branches: 1.1.8;
Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
 1.1.8.1 05-Jan-2001  bouyer Sync with HEAD
 1.2.24.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.24.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.24.1 03-Aug-2004  skrll Sync with HEAD
 1.3.16.1 21-Jun-2006  yamt sync with head.
 1.8 26-Oct-2003  junyoung Goodbye to bcmp.S, bcopy.S, and bzero.S. They are defined as macros in
sys/systm.h.
 1.7 15-Apr-2003  dsl branches: 1.7.2;
Significantly faster memcpy/memmove/bcopy and memset/bzero
 1.6 22-Feb-1998  mycroft Move random.S from arch/i386/i386.
 1.5 07-Oct-1995  mycroft Update from libc.
 1.4 05-Feb-1995  mycroft Sync with libc.
 1.3 26-Oct-1994  cgd new RCS ID format.
 1.2 28-Jan-1994  jtc Fix spelling error in Copyright notice
 1.1 04-Dec-1993  cgd branches: 1.1.2;
change to use MACHINE_ARCH and update from libc
 1.1.2.2 04-Dec-1993  cgd change to use MACHINE_ARCH and update from libc
 1.1.2.1 04-Dec-1993  cgd file bzero.S was added on branch magnum on 1993-12-04 03:05:45 +0000
 1.7.2.1 03-Aug-2004  skrll Sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 27-Oct-1993  jtc Did a ``make copy-to-libkern'' from libc to copy libc files to libkern.
Checking them in to make people happy.
 1.10 20-Dec-2005  christos Use common sources with userland.
 1.9 11-Dec-2005  christos merge ktrace-lwp.
 1.8 04-Dec-2003  keihan branches: 1.8.16;
netbsd.org -> NetBSD.org

This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
 1.7 23-Aug-1999  kleink branches: 1.7.36;
Sync with libc: use _ALIGN_TEXT from <machine/asm.h>.
 1.6 22-Feb-1998  mycroft Move random.S from arch/i386/i386.
 1.5 07-Oct-1995  mycroft Update from libc.
 1.4 05-Feb-1995  mycroft Sync with libc.
 1.3 26-Oct-1994  cgd new RCS ID format.
 1.2 28-Jan-1994  jtc Fix spelling error in Copyright notice
 1.1 04-Dec-1993  cgd branches: 1.1.2;
change to use MACHINE_ARCH and update from libc
 1.1.2.2 04-Dec-1993  cgd change to use MACHINE_ARCH and update from libc
 1.1.2.1 04-Dec-1993  cgd file ffs.S was added on branch magnum on 1993-12-04 03:06:04 +0000
 1.7.36.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.36.2 18-Sep-2004  skrll Sync with HEAD.
 1.7.36.1 03-Aug-2004  skrll Sync with HEAD
 1.8.16.1 21-Jun-2006  yamt sync with head.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 27-Oct-1993  jtc Did a ``make copy-to-libkern'' from libc to copy libc files to libkern.
Checking them in to make people happy.
 1.8 15-Jan-1999  bouyer Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
 1.7 22-Feb-1998  mycroft Move random.S from arch/i386/i386.
 1.6 22-Feb-1998  mycroft Sync with libc.
 1.5 13-Oct-1997  lukem rcsid fascism
 1.4 07-Oct-1995  mycroft branches: 1.4.14;
Update from libc.
 1.3 05-Feb-1995  mycroft Sync with libc.
 1.2 26-Oct-1994  cgd new RCS ID format.
 1.1 04-Dec-1993  cgd branches: 1.1.2;
change to use MACHINE_ARCH and update from libc
 1.1.2.2 04-Dec-1993  cgd change to use MACHINE_ARCH and update from libc
 1.1.2.1 04-Dec-1993  cgd file htonl.S was added on branch magnum on 1993-12-04 03:06:13 +0000
 1.4.14.1 14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 27-Oct-1993  jtc Did a ``make copy-to-libkern'' from libc to copy libc files to libkern.
Checking them in to make people happy.
 1.8 15-Jan-1999  bouyer Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
 1.7 22-Feb-1998  mycroft Move random.S from arch/i386/i386.
 1.6 22-Feb-1998  mycroft Sync with libc.
 1.5 13-Oct-1997  lukem rcsid fascism
 1.4 07-Oct-1995  mycroft branches: 1.4.14;
Update from libc.
 1.3 05-Feb-1995  mycroft Sync with libc.
 1.2 26-Oct-1994  cgd new RCS ID format.
 1.1 04-Dec-1993  cgd branches: 1.1.2;
change to use MACHINE_ARCH and update from libc
 1.1.2.2 04-Dec-1993  cgd change to use MACHINE_ARCH and update from libc
 1.1.2.1 04-Dec-1993  cgd file htons.S was added on branch magnum on 1993-12-04 03:06:23 +0000
 1.4.14.1 14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 27-Oct-1993  jtc Did a ``make copy-to-libkern'' from libc to copy libc files to libkern.
Checking them in to make people happy.
 1.3 27-Oct-2003  junyoung index() shouldn't be used in the kernel. Use strchr() instead.
 1.2 23-Aug-1999  kleink branches: 1.2.36;
Sync with libc: use _ALIGN_TEXT from <machine/asm.h>.
 1.1 22-Feb-1998  mycroft And index.S...
 1.2.36.1 03-Aug-2004  skrll Sync with HEAD
 1.3 10-Jun-1996  cgd locc() is unused. Remove it from the machine-independent kernel interface.
 1.2 26-Oct-1994  cgd new RCS ID format.
 1.1 24-Feb-1994  mycroft Assembler versions of these.
 1.7 20-Dec-2005  christos Use common sources with userland.
 1.6 11-Dec-2005  christos merge ktrace-lwp.
 1.5 04-Dec-2003  keihan branches: 1.5.16;
netbsd.org -> NetBSD.org

This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
 1.4 23-Aug-1999  kleink branches: 1.4.36;
Sync with libc: use _ALIGN_TEXT from <machine/asm.h>.
 1.3 22-Feb-1998  mycroft Move random.S from arch/i386/i386.
 1.2 05-Feb-1998  mrg initial import of the new virtual memory system, UVM, into -current.

UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code. i provided some help
getting swap and paging working, and other bug fixes/ideas. chuck
silvers <chuq@chuq.com> also provided some other fixes.

this is the rest of the MI portion changes.

this will be KNF'd shortly. :-)
 1.1 24-Oct-1997  chuck add memchr() to libkern
 1.4.36.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.36.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.36.1 03-Aug-2004  skrll Sync with HEAD
 1.5.16.1 21-Jun-2006  yamt sync with head.
 1.5 20-Dec-2005  christos Use common sources with userland.
 1.4 11-Dec-2005  christos merge ktrace-lwp.
 1.3 04-Dec-2003  keihan branches: 1.3.16;
netbsd.org -> NetBSD.org

This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
 1.2 21-Sep-2001  fvdl branches: 1.2.18;
Make new gas happy. Use movzbl instead of xorl + movb.
 1.1 04-Aug-1998  perry branches: 1.1.24; 1.1.26; 1.1.28;
add memcmp.S
 1.1.28.1 01-Oct-2001  fvdl Catch up with -current.
 1.1.26.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.24.1 21-Sep-2001  nathanw Catch up to -current.
 1.2.18.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.18.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.18.1 03-Aug-2004  skrll Sync with HEAD
 1.3.16.1 21-Jun-2006  yamt sync with head.
 1.7 20-Dec-2005  christos Use common sources with userland.
 1.6 11-Dec-2005  christos merge ktrace-lwp.
 1.5 15-Apr-2004  yamt branches: 1.5.12;
add '.L' prefixes to local labels.
 1.4 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.3 15-Apr-2003  dsl branches: 1.3.2;
Significantly faster memcpy/memmove/bcopy and memset/bzero
 1.2 22-Feb-1998  mycroft Move random.S from arch/i386/i386.
 1.1 22-Feb-1998  mycroft Sync with libc.
 1.3.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.2.1 03-Aug-2004  skrll Sync with HEAD
 1.5.12.1 21-Jun-2006  yamt sync with head.
 1.3 20-Dec-2005  christos Use common sources with userland.
 1.2 15-Apr-2003  dsl branches: 1.2.18;
Significantly faster memcpy/memmove/bcopy and memset/bzero
 1.1 04-Aug-1998  perry add memmove.S
 1.2.18.1 21-Jun-2006  yamt sync with head.
 1.8 20-Dec-2005  christos Use common sources with userland.
 1.7 11-Dec-2005  christos merge ktrace-lwp.
 1.6 15-Apr-2004  yamt branches: 1.6.12;
add '.L' prefixes to local labels.
 1.5 15-Apr-2003  dsl branches: 1.5.2;
Significantly faster memcpy/memmove/bcopy and memset/bzero
 1.4 22-Feb-1998  mycroft Move random.S from arch/i386/i386.
 1.3 22-Feb-1998  mycroft Sync with libc.
 1.2 11-Mar-1996  scottr Back out previous change.
 1.1 11-Mar-1996  thorpej Provide a memset() for the i386 (assembly version), and move memset.c
out into the libkern proper in case other ports want to use it.
i386 kernels with COMPAT_LINUX should compile now.
 1.5.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.2.1 03-Aug-2004  skrll Sync with HEAD
 1.6.12.1 21-Jun-2006  yamt sync with head.
 1.8 15-Jan-1999  bouyer Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
 1.7 22-Feb-1998  mycroft Move random.S from arch/i386/i386.
 1.6 22-Feb-1998  mycroft Sync with libc.
 1.5 13-Oct-1997  lukem rcsid fascism
 1.4 07-Oct-1995  mycroft branches: 1.4.14;
Update from libc.
 1.3 05-Feb-1995  mycroft Sync with libc.
 1.2 26-Oct-1994  cgd new RCS ID format.
 1.1 04-Dec-1993  cgd branches: 1.1.2;
change to use MACHINE_ARCH and update from libc
 1.1.2.2 04-Dec-1993  cgd change to use MACHINE_ARCH and update from libc
 1.1.2.1 04-Dec-1993  cgd file ntohl.S was added on branch magnum on 1993-12-04 03:06:33 +0000
 1.4.14.1 14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 27-Oct-1993  jtc Did a ``make copy-to-libkern'' from libc to copy libc files to libkern.
Checking them in to make people happy.
 1.8 15-Jan-1999  bouyer Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
 1.7 22-Feb-1998  mycroft Move random.S from arch/i386/i386.
 1.6 22-Feb-1998  mycroft Sync with libc.
 1.5 13-Oct-1997  lukem rcsid fascism
 1.4 07-Oct-1995  mycroft branches: 1.4.14;
Update from libc.
 1.3 05-Feb-1995  mycroft Sync with libc.
 1.2 26-Oct-1994  cgd new RCS ID format.
 1.1 04-Dec-1993  cgd branches: 1.1.2;
change to use MACHINE_ARCH and update from libc
 1.1.2.2 04-Dec-1993  cgd change to use MACHINE_ARCH and update from libc
 1.1.2.1 04-Dec-1993  cgd file ntohs.S was added on branch magnum on 1993-12-04 03:06:43 +0000
 1.4.14.1 14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 27-Oct-1993  jtc Did a ``make copy-to-libkern'' from libc to copy libc files to libkern.
Checking them in to make people happy.
 1.6 07-Sep-2010  pooka Rename jump label to something a little more negative. No, I'm
not doing it for cosmetic value or out of angst. See, PIC_PROLOGUE
on i386 uses the "1" label internally. Now, everything would be
fine and dandy for the first 551245 calls to random. After that
p+q is negative and the jump is taken. However, it is taken into
the middle of PIC_PROLOGUE instead of where upon superficial
examination we assumed we are jumping. This causes wrong(tm) things
to happen and "ret" triggers a jump into hyperspace.

(no, I did not see that coming)
 1.5 04-Jan-2009  pooka branches: 1.5.4; 1.5.6;
Support PIC for inclusion in librump. (m68k untested)
 1.4 28-Apr-2008  martin branches: 1.4.8;
Remove clause 3 and 4 from TNF licenses
 1.3 15-Aug-1998  mycroft branches: 1.3.144; 1.3.146; 1.3.148;
Assign my copyrights to TNF.
 1.2 15-Aug-1998  mycroft Make copyright notices with my name consistent.
 1.1 22-Feb-1998  mycroft Move random.S from arch/i386/i386.
 1.3.148.3 09-Oct-2010  yamt sync with head
 1.3.148.2 04-May-2009  yamt sync with head.
 1.3.148.1 16-May-2008  yamt sync with head.
 1.3.146.1 18-May-2008  yamt sync with head.
 1.3.144.2 17-Jan-2009  mjf Sync with HEAD.
 1.3.144.1 02-Jun-2008  mjf Sync with HEAD.
 1.4.8.1 19-Jan-2009  skrll Sync with HEAD.
 1.5.6.1 05-Mar-2011  rmind sync with head
 1.5.4.1 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.3 05-Nov-2003  junyoung rindex() shouldn't be used in the kernel. Use strrchr() instead.
 1.2 23-Aug-1999  kleink branches: 1.2.36;
Sync with libc: use _ALIGN_TEXT from <machine/asm.h>.
 1.1 22-Feb-1998  mycroft And rindex.S...
 1.2.36.1 03-Aug-2004  skrll Sync with HEAD
 1.9 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.8 10-Sep-1999  drochner branches: 1.8.134; 1.8.136; 1.8.138;
-don't use DEFS.h nor SYS.h in libkern
-remove setjmp.S, it's not useful for libkern
 1.7 15-Aug-1998  mycroft Assign copyrights to TNF.
 1.6 15-Aug-1998  mycroft Make copyright notices with my name consistent.
 1.5 26-Oct-1994  cgd new RCS ID format.
 1.4 23-Mar-1994  mycroft Much faster on 486s and Pentiums; a little slower on 386s.
 1.3 24-Feb-1994  mycroft Minor speedup.
 1.2 24-Feb-1994  mycroft Minutely faster.
 1.1 24-Feb-1994  mycroft Assembler versions of these.
 1.8.138.1 16-May-2008  yamt sync with head.
 1.8.136.1 18-May-2008  yamt sync with head.
 1.8.134.1 02-Jun-2008  mjf Sync with HEAD.
 1.6 10-Sep-1999  drochner -don't use DEFS.h nor SYS.h in libkern
-remove setjmp.S, it's not useful for libkern
 1.5 26-Oct-1994  cgd new RCS ID format.
 1.4 21-Oct-1993  jtc branches: 1.4.2;
So many files in arch/i386 have been changed I might as well run my
remove unecessary trailing whitespace script.
 1.3 21-Oct-1993  jtc Change instances of LIBC_RCS back to LIBC_SCCS. If we are going to change
th LIBC_RCS, the entire source tree should be updated at once.
Remove && !defined(lint) from conditionals around rcs id's. No one is
ever going to pass a *.s file through lint.
 1.2 20-Oct-1993  jtc Replaced instructions with immediate operands with compatible alternatives
saving a few bytes while the cycle count remains the same --- could
actually be faster, depending on the cache, prefetch queue, etc.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.4.2.2 21-Oct-1993  jtc So many files in arch/i386 have been changed I might as well run my
remove unecessary trailing whitespace script.
 1.4.2.1 21-Oct-1993  jtc file setjmp.S was added on branch magnum on 1993-10-21 01:48:17 +0000
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 13-Oct-1993  cgd move 'boot' and 'libkern' into 'lib'. generally clean up 'kernel library'
building and dependencies.
 1.6 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5 10-Sep-1999  drochner branches: 1.5.134; 1.5.136; 1.5.138;
-don't use DEFS.h nor SYS.h in libkern
-remove setjmp.S, it's not useful for libkern
 1.4 15-Aug-1998  mycroft Assign copyrights to TNF.
 1.3 15-Aug-1998  mycroft Make copyright notices with my name consistent.
 1.2 26-Oct-1994  cgd new RCS ID format.
 1.1 24-Feb-1994  mycroft Assembler versions of these.
 1.5.138.1 16-May-2008  yamt sync with head.
 1.5.136.1 18-May-2008  yamt sync with head.
 1.5.134.1 02-Jun-2008  mjf Sync with HEAD.
 1.11 20-Dec-2005  christos Use common sources with userland.
 1.10 11-Dec-2005  christos merge ktrace-lwp.
 1.9 04-Dec-2003  keihan branches: 1.9.16;
netbsd.org -> NetBSD.org

This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
 1.8 23-Aug-1999  kleink branches: 1.8.36;
Sync with libc: use _ALIGN_TEXT from <machine/asm.h>.
 1.7 22-Feb-1998  mycroft Move random.S from arch/i386/i386.
 1.6 07-Oct-1995  mycroft Update from libc.
 1.5 05-Feb-1995  mycroft Sync with libc.
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 15-Feb-1994  mycroft Update from libc.
 1.2 28-Jan-1994  jtc Fix spelling error in Copyright notice
 1.1 04-Dec-1993  cgd branches: 1.1.2;
change to use MACHINE_ARCH and update from libc
 1.1.2.2 04-Dec-1993  cgd change to use MACHINE_ARCH and update from libc
 1.1.2.1 04-Dec-1993  cgd file strcat.S was added on branch magnum on 1993-12-04 03:06:54 +0000
 1.8.36.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.36.2 18-Sep-2004  skrll Sync with HEAD.
 1.8.36.1 03-Aug-2004  skrll Sync with HEAD
 1.9.16.1 21-Jun-2006  yamt sync with head.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 27-Oct-1993  jtc Did a ``make copy-to-libkern'' from libc to copy libc files to libkern.
Checking them in to make people happy.
 1.5 20-Dec-2005  christos Use common sources with userland.
 1.4 11-Dec-2005  christos merge ktrace-lwp.
 1.3 04-Dec-2003  keihan branches: 1.3.16;
netbsd.org -> NetBSD.org

This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
 1.2 27-Oct-2003  junyoung index() shouldn't be used in the kernel. Use strchr() instead.
 1.1 22-Feb-1998  mycroft branches: 1.1.48;
Add these as well.
 1.1.48.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.48.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.48.1 03-Aug-2004  skrll Sync with HEAD
 1.3.16.1 21-Jun-2006  yamt sync with head.
 1.11 20-Dec-2005  christos Use common sources with userland.
 1.10 11-Dec-2005  christos merge ktrace-lwp.
 1.9 04-Dec-2003  keihan branches: 1.9.16;
netbsd.org -> NetBSD.org

This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
 1.8 23-Aug-1999  kleink branches: 1.8.36;
Sync with libc: use _ALIGN_TEXT from <machine/asm.h>.
 1.7 22-Feb-1998  mycroft Move random.S from arch/i386/i386.
 1.6 07-Oct-1995  mycroft Update from libc.
 1.5 05-Feb-1995  mycroft Sync with libc.
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 15-Feb-1994  mycroft Update from libc.
 1.2 28-Jan-1994  jtc Fix spelling error in Copyright notice
 1.1 04-Dec-1993  cgd branches: 1.1.2;
change to use MACHINE_ARCH and update from libc
 1.1.2.2 04-Dec-1993  cgd change to use MACHINE_ARCH and update from libc
 1.1.2.1 04-Dec-1993  cgd file strcmp.S was added on branch magnum on 1993-12-04 03:07:08 +0000
 1.8.36.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.36.2 18-Sep-2004  skrll Sync with HEAD.
 1.8.36.1 03-Aug-2004  skrll Sync with HEAD
 1.9.16.1 21-Jun-2006  yamt sync with head.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 27-Oct-1993  jtc Did a ``make copy-to-libkern'' from libc to copy libc files to libkern.
Checking them in to make people happy.
 1.11 20-Dec-2005  christos Use common sources with userland.
 1.10 11-Dec-2005  christos merge ktrace-lwp.
 1.9 04-Dec-2003  keihan branches: 1.9.16;
netbsd.org -> NetBSD.org

This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
 1.8 23-Aug-1999  kleink branches: 1.8.36;
Sync with libc: use _ALIGN_TEXT from <machine/asm.h>.
 1.7 22-Feb-1998  mycroft Move random.S from arch/i386/i386.
 1.6 07-Oct-1995  mycroft Update from libc.
 1.5 05-Feb-1995  mycroft Sync with libc.
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 15-Feb-1994  mycroft Update from libc.
 1.2 28-Jan-1994  jtc Fix spelling error in Copyright notice
 1.1 04-Dec-1993  cgd branches: 1.1.2;
change to use MACHINE_ARCH and update from libc
 1.1.2.2 04-Dec-1993  cgd change to use MACHINE_ARCH and update from libc
 1.1.2.1 04-Dec-1993  cgd file strcpy.S was added on branch magnum on 1993-12-04 03:07:22 +0000
 1.8.36.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.36.2 18-Sep-2004  skrll Sync with HEAD.
 1.8.36.1 03-Aug-2004  skrll Sync with HEAD
 1.9.16.1 21-Jun-2006  yamt sync with head.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 27-Oct-1993  jtc Did a ``make copy-to-libkern'' from libc to copy libc files to libkern.
Checking them in to make people happy.
 1.9 20-Dec-2005  christos Use common sources with userland.
 1.8 11-Dec-2005  christos merge ktrace-lwp.
 1.7 04-Dec-2003  keihan branches: 1.7.16;
netbsd.org -> NetBSD.org

This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
 1.6 22-Feb-1998  mycroft branches: 1.6.48;
Move random.S from arch/i386/i386.
 1.5 07-Oct-1995  mycroft Update from libc.
 1.4 05-Feb-1995  mycroft Sync with libc.
 1.3 26-Oct-1994  cgd new RCS ID format.
 1.2 28-Jan-1994  jtc Fix spelling error in Copyright notice
 1.1 04-Dec-1993  cgd branches: 1.1.2;
change to use MACHINE_ARCH and update from libc
 1.1.2.2 04-Dec-1993  cgd change to use MACHINE_ARCH and update from libc
 1.1.2.1 04-Dec-1993  cgd file strlen.S was added on branch magnum on 1993-12-04 03:07:40 +0000
 1.6.48.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.48.2 18-Sep-2004  skrll Sync with HEAD.
 1.6.48.1 03-Aug-2004  skrll Sync with HEAD
 1.7.16.1 21-Jun-2006  yamt sync with head.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 27-Oct-1993  jtc Did a ``make copy-to-libkern'' from libc to copy libc files to libkern.
Checking them in to make people happy.
 1.6 20-Dec-2005  christos Use common sources with userland.
 1.5 11-Dec-2005  christos merge ktrace-lwp.
 1.4 26-Feb-2005  perry branches: 1.4.4;
nuke trailing whitespace
 1.3 04-Dec-2003  keihan branches: 1.3.8; 1.3.10;
netbsd.org -> NetBSD.org

This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
 1.2 05-Nov-2003  junyoung rindex() shouldn't be used in the kernel. Use strrchr() instead.
 1.1 22-Feb-1998  mycroft branches: 1.1.48;
Add these as well.
 1.1.48.4 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.1.48.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.48.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.48.1 03-Aug-2004  skrll Sync with HEAD
 1.3.10.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.3.8.1 29-Apr-2005  kent sync with -current
 1.4.4.1 21-Jun-2006  yamt sync with head.

RSS XML Feed