Up to [cvs.NetBSD.org] / src / sys / sys
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.31 / (download) - annotate - [select for diffs], Mon Aug 8 18:55:18 2022 UTC (9 months, 4 weeks ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Changes since 1.30: +3 -3
lines
Diff to previous 1.30 (colored)
sys/endian.h: fix typo in comment Came here because lint complained about non-constant case expressions in sys/arch/xen/xen/xennet_checksum.c, line 111 and 122, which read: case htons(ETHERTYPE_IP): case htons(ETHERTYPE_IPV6): POSIX says: On some implementations, these functions are defined as macros. NetBSD implements these functions as macros, and on little-endian platforms, as well as in lint mode, the macros expand to function calls.
Revision 1.28.22.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:20 2017 UTC (5 years, 6 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.28.22.1: +2 -2
lines
Diff to previous 1.28.22.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)
update from HEAD
Revision 1.29.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:39 2016 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.29: +3 -3
lines
Diff to previous 1.29 (colored) next main 1.30 (colored)
Sync with HEAD
Revision 1.30 / (download) - annotate - [select for diffs], Sat Feb 27 21:37:35 2016 UTC (7 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Changes since 1.29: +3 -3
lines
Diff to previous 1.29 (colored)
put unused before the function name for consistency.
Revision 1.28.22.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:44 2014 UTC (8 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.28: +5 -5
lines
Diff to previous 1.28 (colored)
Rebase to HEAD as of a few days ago.
Revision 1.28.12.1 / (download) - annotate - [select for diffs], Thu May 22 11:41:18 2014 UTC (9 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.28: +5 -5
lines
Diff to previous 1.28 (colored) next main 1.29 (colored)
sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.28.26.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:21 2014 UTC (9 years ago) by rmind
Branch: rmind-smpnet
Changes since 1.28: +5 -5
lines
Diff to previous 1.28 (colored) next main 1.29 (colored)
sync with head
Revision 1.29 / (download) - annotate - [select for diffs], Tue Mar 18 14:28:37 2014 UTC (9 years, 2 months ago) by riastradh
Branch: MAIN
CVS Tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Branch point for: nick-nhusb
Changes since 1.28: +5 -5
lines
Diff to previous 1.28 (colored)
Avoid undefined behaviour in shifts in endian decoding routines. If int is 32-bit and p is a uint8_t *, then p[0] is promoted to int and p[0] << 24 can shift a one into the sign bit of an int, which is nasal demon territory.
Revision 1.26.30.1 / (download) - annotate - [select for diffs], Wed Aug 19 18:48:32 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.26: +63 -63
lines
Diff to previous 1.26 (colored) next main 1.27 (colored)
sync with head.
Revision 1.28 / (download) - annotate - [select for diffs], Sat Aug 8 21:23:15 2009 UTC (13 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-tag8,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base7,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-premerge-20091211,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
khorben-n900,
jym-xensuspend-nbase,
jruoho-x86intr-base,
jruoho-x86intr,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
agc-symver-base,
agc-symver
Branch point for: yamt-pagecache,
tls-maxphys,
rmind-smpnet
Changes since 1.27: +59 -59
lines
Diff to previous 1.27 (colored)
Create and use __CAST(type, value) in headers so that modern c++ with -Wold-style-casts does not bitch.
Revision 1.26.46.1 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:56 2009 UTC (13 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.26: +5 -5
lines
Diff to previous 1.26 (colored) next main 1.27 (colored)
Sync with HEAD.
Revision 1.27 / (download) - annotate - [select for diffs], Mon Jul 20 18:45:27 2009 UTC (13 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: jymxensuspend-base
Changes since 1.26: +5 -5
lines
Diff to previous 1.26 (colored)
Use __constfunc instead of __attribute__((__const__)).
Revision 1.15.6.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:46:09 2007 UTC (15 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.6.2: +15 -15
lines
Diff to previous 1.15.6.2 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)
sync with head.
Revision 1.25.6.1 / (download) - annotate - [select for diffs], Mon Aug 20 21:28:15 2007 UTC (15 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.25: +15 -15
lines
Diff to previous 1.25 (colored) next main 1.26 (colored)
Sync with HEAD.
Revision 1.25.14.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:50:54 2007 UTC (15 years, 9 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.25: +15 -15
lines
Diff to previous 1.25 (colored) next main 1.26 (colored)
Sync with HEAD.
Revision 1.26.38.2 / (download) - annotate - [select for diffs], Fri Jul 20 15:07:16 2007 UTC (15 years, 10 months ago) by christos
Branch: matt-mips64
Changes since 1.26.38.1: +340 -0
lines
Diff to previous 1.26.38.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)
PR/36668: Matthias Kretschmer: Silence lint -aa complaints about "may lose accuracy".
Revision 1.26.38.1, Fri Jul 20 15:07:15 2007 UTC (15 years, 10 months ago) by christos
Branch: matt-mips64
Changes since 1.26: +0 -340
lines
FILE REMOVED
file endian.h was added on branch matt-mips64 on 2007-07-20 15:07:16 +0000
Revision 1.26 / (download) - annotate - [select for diffs], Fri Jul 20 15:07:15 2007 UTC (15 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
vmlocking-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-net80211-sync-base,
nick-net80211-sync,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
nick-csl-alignment-base5,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
mjf-devfs2,
mjf-devfs-base,
mjf-devfs,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
matt-mips64-base,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jym-xensuspend-base,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
hpcarm-cleanup,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64,
ad-socklock-base1,
ad-audiomp2-base,
ad-audiomp2
Branch point for: yamt-nfs-mp,
matt-mips64,
jym-xensuspend
Changes since 1.25: +15 -15
lines
Diff to previous 1.25 (colored)
PR/36668: Matthias Kretschmer: Silence lint -aa complaints about "may lose accuracy".
Revision 1.15.6.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:12:11 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.6.1: +40 -1
lines
Diff to previous 1.15.6.1 (colored) to branchpoint 1.15 (colored)
sync with head.
Revision 1.24.8.1 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:47 2007 UTC (16 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.24: +40 -1
lines
Diff to previous 1.24 (colored) next main 1.25 (colored)
Sync with head.
Revision 1.25 / (download) - annotate - [select for diffs], Sat Jan 27 03:57:44 2007 UTC (16 years, 4 months ago) by cbiere
Branch: MAIN
CVS Tags: yamt-idlelwp-base8,
yamt-idlelwp,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
post-newlock2-merge,
nick-csl-alignment-base,
newlock2-nbase,
newlock2-base,
mjf-ufs-trans-base,
mjf-ufs-trans,
ad-audiomp-base,
ad-audiomp
Branch point for: vmlocking,
nick-csl-alignment
Changes since 1.24: +40 -1
lines
Diff to previous 1.24 (colored)
More efficient endian conversion functions when compiling with GCC as suggested by Krister Walfridsson at tech-misc.
Revision 1.21.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:59:41 2006 UTC (16 years, 9 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.21: +11 -11
lines
Diff to previous 1.21 (colored) next main 1.22 (colored)
sync with head
Revision 1.15.6.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:03 2006 UTC (16 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15: +20 -15
lines
Diff to previous 1.15 (colored)
sync with head.
Revision 1.23.2.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:39:26 2006 UTC (17 years ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.23.2.1: +301 -0
lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)
Sync with head.
Revision 1.23.8.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:47 2006 UTC (17 years ago) by tron
Branch: peter-altq
Changes since 1.23: +5 -5
lines
Diff to previous 1.23 (colored) next main 1.24 (colored)
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.23.4.1 / (download) - annotate - [select for diffs], Wed May 24 10:59:21 2006 UTC (17 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.23: +5 -5
lines
Diff to previous 1.23 (colored) next main 1.24 (colored)
sync with head.
Revision 1.23.6.1 / (download) - annotate - [select for diffs], Thu May 11 23:31:36 2006 UTC (17 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.23: +5 -5
lines
Diff to previous 1.23 (colored) next main 1.24 (colored)
sync with head
Revision 1.24 / (download) - annotate - [select for diffs], Fri May 5 15:08:11 2006 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
simonb-timecounters-base,
rpaulo-netinet-merge-pcb-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.23: +5 -5
lines
Diff to previous 1.23 (colored)
const -> __const__
Revision 1.20.2.2 / (download) - annotate - [select for diffs], Sat Feb 18 15:39:23 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.20.2.1: +7 -7
lines
Diff to previous 1.20.2.1 (colored) next main 1.21 (colored)
sync with head.
Revision 1.23.2.1, Sat Feb 4 01:07:20 2006 UTC (17 years, 4 months ago) by kardel
Branch: simonb-timecounters
Changes since 1.23: +0 -301
lines
FILE REMOVED
file endian.h was added on branch simonb-timecounters on 2006-06-01 22:39:26 +0000
Revision 1.23 / (download) - annotate - [select for diffs], Sat Feb 4 01:07:20 2006 UTC (17 years, 4 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
peter-altq,
elad-kernelauth
Changes since 1.22: +5 -5
lines
Diff to previous 1.22 (colored)
There's no reason to cast the return value of bswapNN to uintNN_t in one particular place (little endian ntohl &co).
Revision 1.22 / (download) - annotate - [select for diffs], Sat Feb 4 00:01:36 2006 UTC (17 years, 4 months ago) by uwe
Branch: MAIN
Changes since 1.21: +3 -3
lines
Diff to previous 1.21 (colored)
Move #include <machine/bswap.h> back into the same nesting inside ifdefs. Assembler sources don't care about optimized inline versions of bswap. Undo the changes to the namespace. Hi, dsl.
Revision 1.20.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:52:48 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.20: +8 -3
lines
Diff to previous 1.20 (colored)
sync with head.
Revision 1.21 / (download) - annotate - [select for diffs], Mon Jan 30 21:52:38 2006 UTC (17 years, 4 months ago) by dsl
Branch: MAIN
Branch point for: rpaulo-netinet-merge-pcb
Changes since 1.20: +8 -3
lines
Diff to previous 1.20 (colored)
Move the definitions of ntohl() and friends into sys/endian.h where they are defined in terms of bswap32() and bswap16(). This makes the definition be in the same place for all systems regardless of creed^Wendianness.
Revision 1.20 / (download) - annotate - [select for diffs], Tue Dec 27 17:21:34 2005 UTC (17 years, 5 months ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.19: +13 -13
lines
Diff to previous 1.19 (colored)
inline -> __inline for selected things (specifically, the header file is POSIX visible and the usage isn't #ifdef _KERNEL) Discussed with core. I may need to go farther than this but for now compilations done with gcc -ansi (i.e. firefox) will be okay.
Revision 1.19 / (download) - annotate - [select for diffs], Mon Dec 26 18:41:36 2005 UTC (17 years, 5 months ago) by perry
Branch: MAIN
Changes since 1.18: +13 -13
lines
Diff to previous 1.18 (colored)
u_intN_t -> uintN_t
Revision 1.18 / (download) - annotate - [select for diffs], Sat Dec 24 23:44:14 2005 UTC (17 years, 5 months ago) by perry
Branch: MAIN
Changes since 1.17: +5 -5
lines
Diff to previous 1.17 (colored)
__const__ -> const -- not strictly needed since it is in __attribute__
Revision 1.17 / (download) - annotate - [select for diffs], Sat Dec 24 19:01:28 2005 UTC (17 years, 5 months ago) by perry
Branch: MAIN
Changes since 1.16: +13 -13
lines
Diff to previous 1.16 (colored)
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
Revision 1.16 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:20 2005 UTC (17 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.15: +1 -1
lines
Diff to previous 1.15 (colored)
merge ktrace-lwp.
Revision 1.14.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:37 2005 UTC (18 years, 1 month ago) by kent
Branch: kent-audio2
Changes since 1.14: +32 -23
lines
Diff to previous 1.14 (colored) next main 1.15 (colored)
sync with -current
Revision 1.14.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:55 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-km
Changes since 1.14: +32 -23
lines
Diff to previous 1.14 (colored) next main 1.15 (colored)
sync with head.
Revision 1.6.2.4 / (download) - annotate - [select for diffs], Fri Feb 4 11:48:05 2005 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.3: +32 -23
lines
Diff to previous 1.6.2.3 (colored) next main 1.7 (colored)
Sync with HEAD.
Revision 1.15 / (download) - annotate - [select for diffs], Thu Feb 3 19:16:10 2005 UTC (18 years, 4 months ago) by perry
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
ktrace-lwp-base,
kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.14: +32 -23
lines
Diff to previous 1.14 (colored)
de-__P Also, re-arrange to prevent the #define versions of XtoY functions from coming before the function prototypes. XXX This is rather ugly, and someone like kleink should probably check that I didn't mess up any standards issues.
Revision 1.6.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:38:45 2004 UTC (18 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.2: +1 -1
lines
Diff to previous 1.6.2.2 (colored)
Fix the sync with head I botched.
Revision 1.6.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:56:30 2004 UTC (18 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.1: +113 -2
lines
Diff to previous 1.6.2.1 (colored)
Sync with HEAD.
Revision 1.14 / (download) - annotate - [select for diffs], Mon Sep 13 10:52:34 2004 UTC (18 years, 8 months ago) by tron
Branch: MAIN
CVS Tags: yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Changes since 1.13: +7 -7
lines
Diff to previous 1.13 (colored)
Const-ify last change properly.
Revision 1.13 / (download) - annotate - [select for diffs], Mon Sep 13 10:33:43 2004 UTC (18 years, 8 months ago) by tron
Branch: MAIN
Changes since 1.12: +13 -13
lines
Diff to previous 1.12 (colored)
Add a few extra type casts to make C++ happy. This fixes build problems in e.g. "libsupc++".
Revision 1.12 / (download) - annotate - [select for diffs], Mon Sep 13 01:46:39 2004 UTC (18 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +5 -5
lines
Diff to previous 1.11 (colored)
Avoid warnings about conversions from "unsigned long long" to "unsigned int" and from "unsigned int" to "unsigned long long".
Revision 1.11 / (download) - annotate - [select for diffs], Mon Sep 13 01:24:46 2004 UTC (18 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored)
To quote C99 6.3.1.1: If an int can represent all values of the original type, the value is converted to an int; otherwise, it is converted to an unsigned int. These are called the integer promotions. 48) All other types are unchanged by the integer promotions. So, cast an "unsigned short" to an "unsigned int" before right-shifting it in order to avoid a lint warning.
Revision 1.10 / (download) - annotate - [select for diffs], Sun Sep 12 23:17:37 2004 UTC (18 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +112 -1
lines
Diff to previous 1.9 (colored)
Move the 16/32-bit encode/decode to/from octet stream routines from kern_uuid.c to sys/endian.h (where FreeBSD has them), and add 64-bit variants.
Revision 1.9 / (download) - annotate - [select for diffs], Sun Sep 12 22:52:58 2004 UTC (18 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.8: +2 -2
lines
Diff to previous 1.8 (colored)
Correct a comment.
Revision 1.6.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:56:26 2004 UTC (18 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6: +5 -9
lines
Diff to previous 1.6 (colored)
Sync with HEAD
Revision 1.7.2.1 / (download) - annotate - [select for diffs], Fri Jul 2 18:18:01 2004 UTC (18 years, 11 months ago) by he
Branch: netbsd-2-0
CVS Tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2
Changes since 1.7: +4 -4
lines
Diff to previous 1.7 (colored) next main 1.8 (colored)
Pull up revision 1.8 (requested by kleink in ticket #580): Tidy up the namespace: lint -> __lint__.
Revision 1.8 / (download) - annotate - [select for diffs], Thu Jul 1 22:34:12 2004 UTC (18 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.7: +4 -4
lines
Diff to previous 1.7 (colored)
Tidy up the namespace: lint -> __lint__.
Revision 1.7 / (download) - annotate - [select for diffs], Thu Aug 7 16:34:03 2003 UTC (19 years, 10 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.6: +2 -6
lines
Diff to previous 1.6 (colored)
Move UCB-licensed code from 4-clause to 3-clause licence. Patches provided by Joel Baker in PR 22364, verified by myself.
Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 28 23:16:27 2003 UTC (20 years, 1 month ago) by bjh21
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.5: +4 -2
lines
Diff to previous 1.5 (colored)
Add a new feature-test macro, _NETBSD_SOURCE. If this is defined by the application, all NetBSD interfaces are made visible, even if some other feature-test macro (like _POSIX_C_SOURCE) is defined. <sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE, _POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve existing behaviour. This has two major advantages: + Programs that require non-POSIX facilities but define _POSIX_C_SOURCE can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS. + It makes most of the #ifs simpler, in that they're all now ORs of the various macros, rather than having checks for (!defined(_ANSI_SOURCE) || !defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place. I've tried not to change the semantics of the headers in any case where _NETBSD_SOURCE wasn't defined, but there were some places where the current semantics were clearly mad, and retaining them was harder than correcting them. In particular, I've mostly normalised things so that _ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE, _XOPEN_SOURCE and _NETBSD_SOURCE in that order. Tested by building for vax, encouraged by thorpej, and uncontested in tech-userlevel for a week.
Revision 1.3.8.2 / (download) - annotate - [select for diffs], Sun Jun 23 17:51:55 2002 UTC (20 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.3.8.1: +11 -3
lines
Diff to previous 1.3.8.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)
catch up with -current on kqueue branch
Revision 1.3.6.2 / (download) - annotate - [select for diffs], Thu Jun 20 03:50:10 2002 UTC (20 years, 11 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.3.6.1: +11 -3
lines
Diff to previous 1.3.6.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)
Catch up to -current.
Revision 1.5 / (download) - annotate - [select for diffs], Sun May 12 22:59:50 2002 UTC (21 years, 1 month ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
gehenna-devsw-base,
gehenna-devsw,
fvdl_fs64_base
Changes since 1.4: +11 -3
lines
Diff to previous 1.4 (colored)
Use <sys/ansi.h> definitions for in_{addr,port}_t.
Revision 1.3.6.1 / (download) - annotate - [select for diffs], Fri Sep 21 22:37:00 2001 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3: +9 -9
lines
Diff to previous 1.3 (colored)
Catch up to -current.
Revision 1.3.8.1 / (download) - annotate - [select for diffs], Sat Aug 25 06:17:14 2001 UTC (21 years, 9 months ago) by thorpej
Branch: kqueue
Changes since 1.3: +9 -9
lines
Diff to previous 1.3 (colored)
Merge Aug 24 -current into the kqueue branch.
Revision 1.4 / (download) - annotate - [select for diffs], Wed Aug 22 07:42:07 2001 UTC (21 years, 9 months ago) by itojun
Branch: MAIN
CVS Tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf,
newlock-base,
newlock,
ifpoll-base,
eeh-devprop-base,
eeh-devprop
Changes since 1.3: +9 -9
lines
Diff to previous 1.3 (colored)
sync argument/return type of [hn]to[nh][ls] to XNET 5.2 (uint{16,32}_t). as discussed on tech-net.
Revision 1.1.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:11:29 2000 UTC (22 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1: +3 -5
lines
Diff to previous 1.1 (colored) next main 1.2 (colored)
Update thorpej_scsipi to -current as of a month ago
Revision 1.3 / (download) - annotate - [select for diffs], Fri Mar 17 11:47:43 2000 UTC (23 years, 2 months ago) by soren
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base,
netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: nathanw_sa,
kqueue
Changes since 1.2: +3 -3
lines
Diff to previous 1.2 (colored)
Allow mips endian_machdep.h to see _LITTLE_ENDIAN and _BIG_ENDIAN.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Mar 17 00:10:24 2000 UTC (23 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +3 -5
lines
Diff to previous 1.1 (colored)
In the `MY THAT'S GROSS' department: Eliminate the recursive include of machine/endian.h from sys/endian.h.
Revision 1.1 / (download) - annotate - [select for diffs], Sat Aug 21 05:27:26 1999 UTC (23 years, 9 months ago) by simonb
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-newbase
Branch point for: thorpej_scsipi
MI prototypes and macros for the {h,n}to{n,h}() functions, and macros for the hto{le,be}{16,32,64}() set that convert a given size argument to a specific endianness.