Home | History | Annotate | Download | only in include
History log of /src/sys/arch/i386/include/byte_swap.h
RevisionDateAuthorComments
 1.17  10-Aug-2020  rin Clean up _LKM --> _MODULE leftovers.

Note that _KERNEL is always defined for modules.
 1.16  23-Jul-2020  skrll Trailing whitespace
 1.15  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.14  14-Nov-2007  ad branches: 1.14.14; 1.14.16; 1.14.18;
- Remove I486_CPU, I586_CPU, I686_CPU options. They buy us nothing and
clutter the code significantly.
- Remove pccons.
 1.13  17-Oct-2007  garbled branches: 1.13.2;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.12  26-Sep-2007  ad branches: 1.12.2;
x86 changes for pcc and LKMs.

- Replace most inline assembly with proper functions. As a side effect
this reduces the size of amd64 GENERIC by about 120kB, and i386 by a
smaller amount. Nearly all of the inlines did something slow, or something
that does not need to be fast.
- Make curcpu() and curlwp functions proper, unless __GNUC__ && _KERNEL.
In that case make them inlines. Makes curlwp LKM and preemption safe.
- Make bus_space and bus_dma more LKM friendly.
- Share a few more files between the ports.
- Other minor changes.
 1.11  24-Jan-2007  hubertf branches: 1.11.6; 1.11.14; 1.11.22; 1.11.24; 1.11.26;
Remove duplicate #includes, patch contributed in private mail
by Slava Semushin <slava.semushin@gmail.com>.

To verify that no nasty side effects of duplicate includes (or their
removal) have an effect here, I've compiled an i386/ALL kernel with
and without the patch, and the only difference in the resulting .o
files was in shifted line numbers in some assert() calls.
The comparison of the .o files was based on the output of "objdump -D".

Thanks to martin@ for the input on testing.
 1.10  30-Jan-2006  dsl branches: 1.10.18;
Move all the stuff that detects bswapxx(constant) into the MI sys/bswap.h
Put the minimum to define the required inline assembler or C into the MD files.
NB: there may be some fallout from this!
 1.9  28-Dec-2005  perry branches: 1.9.2;
inline -> __inline
 1.8  26-Dec-2005  perry u_intN_t -> uintN_t
 1.7  24-Dec-2005  perry Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.6  29-Nov-2001  lukem branches: 1.6.2; 1.6.34;
minor knf
 1.5  03-Nov-2001  lukem explicitly pull in sys/types.h
 1.4  02-Nov-2001  lukem replace __byte_swap_long_variable and __byte_swap_word_variable
#define ({ }) with static __inline { }
 1.3  30-May-2001  mrg branches: 1.3.4; 1.3.8;
use _KERNEL_OPT
 1.2  16-Mar-2000  mycroft branches: 1.2.8;
This code has nothing to do with UCB.
 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  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.2.8.3  08-Jan-2002  nathanw Catch up to -current.
 1.2.8.2  14-Nov-2001  nathanw Catch up to -current.
 1.2.8.1  21-Jun-2001  nathanw Catch up to -current.
 1.3.8.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.3.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.6.34.4  15-Nov-2007  yamt sync with head.
 1.6.34.3  27-Oct-2007  yamt sync with head.
 1.6.34.2  26-Feb-2007  yamt sync with head.
 1.6.34.1  21-Jun-2006  yamt sync with head.
 1.6.2.2  29-Nov-2001  lukem minor knf
 1.6.2.1  29-Nov-2001  lukem file byte_swap.h was added on branch sommerfeld_i386mp_1 on 2001-11-29 02:46:56 +0000
 1.9.2.1  01-Feb-2006  yamt sync with head.
 1.10.18.1  01-Feb-2007  ad Sync with head.
 1.11.26.1  06-Oct-2007  yamt sync with head.
 1.11.24.2  09-Jan-2008  matt sync with HEAD
 1.11.24.1  06-Nov-2007  matt sync with HEAD
 1.11.22.2  21-Nov-2007  joerg Sync with HEAD.
 1.11.22.1  02-Oct-2007  joerg Sync with HEAD.
 1.11.14.1  03-Oct-2007  garbled Sync with HEAD
 1.11.6.2  03-Dec-2007  ad Sync with HEAD.
 1.11.6.1  09-Oct-2007  ad Sync with head.
 1.12.2.1  18-Nov-2007  bouyer Sync with HEAD
 1.13.2.1  19-Nov-2007  mjf Sync with HEAD.
 1.14.18.1  16-May-2008  yamt sync with head.
 1.14.16.1  18-May-2008  yamt sync with head.
 1.14.14.1  02-Jun-2008  mjf Sync with HEAD.

RSS XML Feed