<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/libkern/alpha/byte_swap_2.S, branch release/6.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2005-11-03T00:35:26+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2005-11-03T00:35:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3640cb54210edbb7edbf1b12ef0127ecfcea967d'/>
<id>3640cb54210edbb7edbf1b12ef0127ecfcea967d</id>
<content type='text'>
'RELENG_6_0_0_RELEASE'.

This commit was manufactured to restore the state of the 6.0-RELEASE image.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'RELENG_6_0_0_RELEASE'.

This commit was manufactured to restore the state of the 6.0-RELEASE image.
</pre>
</div>
</content>
</entry>
<entry>
<title>/* -&gt; /*- for copyright notices, minor format tweaks as necessary</title>
<updated>2005-01-07T00:24:33+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2005-01-07T00:24:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d6ea02625f1b6359862e9f45ba89b6a375be7833'/>
<id>d6ea02625f1b6359862e9f45ba89b6a375be7833</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add the following functions/macros to support byte order conversions and</title>
<updated>2002-02-27T17:16:18+00:00</updated>
<author>
<name>Thomas Moestl</name>
<email>tmm@FreeBSD.org</email>
</author>
<published>2002-02-27T17:16:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=90ce56c287b065fe63716ac95ec28e6de3da0d3f'/>
<id>90ce56c287b065fe63716ac95ec28e6de3da0d3f</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>o Move NTOHL() and associated macros into &lt;sys/param.h&gt;.  These are</title>
<updated>2002-02-18T20:35:27+00:00</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-02-18T20:35:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fd8e4ebc8c18caec3eefac6527831f9ee6a92959'/>
<id>fd8e4ebc8c18caec3eefac6527831f9ee6a92959</id>
<content type='text'>
  deprecated in favor of the POSIX-defined lowercase variants.
o Change all occurrences of NTOHL() and associated marcros in the
  source tree to use the lowercase function variants.
o Add missing license bits to sparc64's &lt;machine/endian.h&gt;.
  Approved by: jake
o Clean up &lt;machine/endian.h&gt; files.
o Remove unused __uint16_swap_uint32() from i386's &lt;machine/endian.h&gt;.
o Remove prototypes for non-existent bswapXX() functions.
o Include &lt;machine/endian.h&gt; in &lt;arpa/inet.h&gt; to define the
  POSIX-required ntohl() family of functions.
o Do similar things to expose the ntohl() family in libstand, &lt;netinet/in.h&gt;,
  and &lt;sys/param.h&gt;.
o Prepend underscores to the ntohl() family to help deal with
  complexities associated with having MD (asm and inline) versions, and
  having to prevent exposure of these functions in other headers that
  happen to make use of endian-specific defines.
o Create weak aliases to the canonical function name to help deal with
  third-party software forgetting to include an appropriate header.
o Remove some now unneeded pollution from &lt;sys/types.h&gt;.
o Add missing &lt;arpa/inet.h&gt; includes in userland.

Tested on:	alpha, i386
Reviewed by:	bde, jake, tmm
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  deprecated in favor of the POSIX-defined lowercase variants.
o Change all occurrences of NTOHL() and associated marcros in the
  source tree to use the lowercase function variants.
o Add missing license bits to sparc64's &lt;machine/endian.h&gt;.
  Approved by: jake
o Clean up &lt;machine/endian.h&gt; files.
o Remove unused __uint16_swap_uint32() from i386's &lt;machine/endian.h&gt;.
o Remove prototypes for non-existent bswapXX() functions.
o Include &lt;machine/endian.h&gt; in &lt;arpa/inet.h&gt; to define the
  POSIX-required ntohl() family of functions.
o Do similar things to expose the ntohl() family in libstand, &lt;netinet/in.h&gt;,
  and &lt;sys/param.h&gt;.
o Prepend underscores to the ntohl() family to help deal with
  complexities associated with having MD (asm and inline) versions, and
  having to prevent exposure of these functions in other headers that
  happen to make use of endian-specific defines.
o Create weak aliases to the canonical function name to help deal with
  third-party software forgetting to include an appropriate header.
o Remove some now unneeded pollution from &lt;sys/types.h&gt;.
o Add missing &lt;arpa/inet.h&gt; includes in userland.

Tested on:	alpha, i386
Reviewed by:	bde, jake, tmm
</pre>
</div>
</content>
</entry>
<entry>
<title>Add $FreeBSD$</title>
<updated>2000-05-01T20:32:07+00:00</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2000-05-01T20:32:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=365c5db0a711e2e0a0c08a5c1e30f7849feab58c'/>
<id>365c5db0a711e2e0a0c08a5c1e30f7849feab58c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add initial support for the FreeBSD/alpha kernel.  This is very much a</title>
<updated>1998-06-10T10:57:29+00:00</updated>
<author>
<name>Doug Rabson</name>
<email>dfr@FreeBSD.org</email>
</author>
<published>1998-06-10T10:57:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=897cd717a56fada7bcdb663c761885013df84a20'/>
<id>897cd717a56fada7bcdb663c761885013df84a20</id>
<content type='text'>
work in progress and has never booted a real machine.  Initial
development and testing was done using SimOS (see
http://simos.stanford.edu for details).  On the SimOS simulator, this
port successfully reaches single-user mode and has been tested with
loads as high as one copy of /bin/ls :-).

Obtained from: partly from NetBSD/alpha
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
work in progress and has never booted a real machine.  Initial
development and testing was done using SimOS (see
http://simos.stanford.edu for details).  On the SimOS simulator, this
port successfully reaches single-user mode and has been tested with
loads as high as one copy of /bin/ls :-).

Obtained from: partly from NetBSD/alpha
</pre>
</div>
</content>
</entry>
</feed>
