freebsd-skq/sys/conf
tmm 3ed05b7b89 Add the following functions/macros to support byte order conversions and
device drivers for bus system with other endinesses than the CPU (using
interfaces compatible to NetBSD):

- bwap16() and bswap32(). These have optimized implementations on some
  architectures; for those that don't, there exist generic implementations.
- macros to convert from a certain byte order to host byte order and vice
  versa, using a naming scheme like le16toh(), htole16().
  These are implemented using the bswap functions.
- stream bus space access functions, which do not perform a byte order
  conversion (while the normal access functions would if the bus endianess
  differs from the CPU endianess).

htons(), htonl(), ntohs() and ntohl() are implemented using the new
functions above for kernel usage. None of the above interfaces is currently
exported to user land.

Make use of the new functions in a few places where local implementations
of the same functionality existed.

Reviewed by:	mike, bde
Tested on alpha by:	mike
2002-02-27 17:16:18 +00:00
..
defines
files Add 'nowerror' to the vendor acpica code that spews out warnings. 2002-02-25 21:54:06 +00:00
files.alpha Add the following functions/macros to support byte order conversions and 2002-02-27 17:16:18 +00:00
files.i386 Add the puc (PCI "Universal" Communications) driver. The idea and some of 2002-02-16 15:12:14 +00:00
files.ia64 Add the following functions/macros to support byte order conversions and 2002-02-27 17:16:18 +00:00
files.pc98 MFi386: revision 1.392 2002-02-17 08:55:42 +00:00
files.powerpc Move procfs_* from procfs_machdep.c into sys_process.c, and rename them to 2001-10-21 23:57:24 +00:00
files.sparc64 Add counter.c and sbus.c. Unify style. 2002-02-13 16:29:51 +00:00
kern.mk This will have to be revised, but allow putting 'makeoptions GCC3=true' 2001-09-10 06:23:33 +00:00
kern.post.mk Don't echo a comment during make depend. 2002-02-23 01:49:13 +00:00
kern.pre.mk Turn on -Werror by default. This is is easily turned off, by either: 2002-02-25 22:04:33 +00:00
kmod_syms.awk Eliminate the use of commons in the kernel and modules, 2002-01-10 03:52:01 +00:00
kmod.mk Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ldscript.alpha Use the kernbase symbol exported from locore.o instead of hardcoded magic 2001-09-20 09:19:38 +00:00
ldscript.amd64 Remove hard coded magic load address. Now to change the load address, 2001-09-18 01:12:43 +00:00
ldscript.i386 Remove hard coded magic load address. Now to change the load address, 2001-09-18 01:12:43 +00:00
ldscript.ia64 Put symbols at the start and end of the unwind section so that we can 2001-10-29 11:40:14 +00:00
ldscript.powerpc Page align the data segment. 2001-10-08 10:43:34 +00:00
ldscript.sparc64 Add kernbase symbol and use it instead of magic numbers in the 2001-09-21 05:43:38 +00:00
majors Correct the majors entry for 'iir'. 163 is vacated now. 2002-01-20 09:01:07 +00:00
Makefile.alpha Commit some infrastructure for turning on -Werror for kernel compiles. 2002-02-20 23:35:56 +00:00
Makefile.i386 Commit some infrastructure for turning on -Werror for kernel compiles. 2002-02-20 23:35:56 +00:00
Makefile.ia64 Commit some infrastructure for turning on -Werror for kernel compiles. 2002-02-20 23:35:56 +00:00
Makefile.pc98 Commit some infrastructure for turning on -Werror for kernel compiles. 2002-02-20 23:35:56 +00:00
Makefile.powerpc Commit some infrastructure for turning on -Werror for kernel compiles. 2002-02-20 23:35:56 +00:00
Makefile.sparc64 Commit some infrastructure for turning on -Werror for kernel compiles. 2002-02-20 23:35:56 +00:00
newvers.sh setlocale(3) has been fixed to match POSIX standard: 2001-03-02 16:52:14 +00:00
NOTES Correct path to pucdata.c 2002-02-18 15:46:10 +00:00
options Garbage-collect options ACPI_NO_ENABLE_ON_BOOT, AML_DEBUG, BLEED, 2002-02-15 13:16:11 +00:00
options.alpha Garbage collect options AVM_A1_PCI, AVM_A1_PCMCIA, DEBUG_LINUX, DEV_APM, 2002-02-15 10:19:39 +00:00
options.i386 Back out all the pmap related stuff I've touched over the last few days. 2002-02-27 09:51:33 +00:00
options.ia64 Add various file relating to firmware interfaces and make SKI support 2001-09-29 11:46:22 +00:00
options.pc98 Back out all the pmap related stuff I've touched over the last few days. 2002-02-27 09:51:33 +00:00
options.powerpc Add a cosmetic comment. 2001-08-02 23:54:23 +00:00
options.sparc64 Add PMAP_STATS option so pmap.c compiles. 2002-02-23 22:35:57 +00:00
systags.sh $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00