The NetBSD Project

CVS log for src/sys/sys/cdefs.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / sys

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.135.2.2 / (download) - annotate - [select for diffs], Wed Dec 26 14:02:07 2018 UTC (3 weeks, 5 days ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.135.2.1: +7 -9 lines
Diff to previous 1.135.2.1 (colored) to branchpoint 1.135 (colored) next main 1.136 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.139 / (download) - annotate - [select for diffs], Tue Dec 18 16:23:20 2018 UTC (4 weeks, 5 days ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-20190118, pgoyette-compat-1226, HEAD
Changes since 1.138: +2 -2 lines
Diff to previous 1.138 (colored)

Appease gcc error: comparison of unsigned expression < 0 is always false
when using __BITS(u_int, 0)

Revision 1.138 / (download) - annotate - [select for diffs], Tue Dec 4 22:06:36 2018 UTC (6 weeks, 5 days ago) by kamil
Branch: MAIN
Changes since 1.137: +6 -8 lines
Diff to previous 1.137 (colored)

Stop mangling __func__ for C++11 and newer

Drop local logic between GCC 2.4 and GCC 2.6 that used __PRETTY_FUNCTION__.
This caused __func__ to be redefined for all C++ programs and use a
different behavior than intended by the compiler (Clang and GCC).
__PRETTY_FUNCTION__ prints all the prototype not just function name,
contrary to __FUNCTION__ and __func__.

__func__ is now an integral part of C99 and C++11, shipped by a compiler.

This change aligns the behavior of C++ programs using __func__ to other
Operating Systems. The difference caused unnecessary fallout in regression
test suites in projects (LLVM, fish, ...).

Revision 1.135.2.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:56:47 2018 UTC (4 months, 2 weeks ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.135: +15 -2 lines
Diff to previous 1.135 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.137 / (download) - annotate - [select for diffs], Wed Aug 22 12:07:43 2018 UTC (5 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.136: +10 -1 lines
Diff to previous 1.136 (colored)

Add support for monitoring the stack with kASan. This allows us to detect
illegal memory accesses occuring there.

The compiler inlines a piece of code in each function that adds redzones
around the local variables and poisons them. The illegal accesses are then
detected using the usual kASan machinery.

The stack size is doubled, from 4 pages to 8 pages.

Several boot functions are marked with the __noasan flag, to prevent the
compiler from adding redzones in them (because we haven't yet initialized
kASan). The kasan_early_init function is called early at boot time to
quickly create the shadow for the current stack; after this is done, we
don't need __noasan anymore in the boot path.

We pass -fasan-shadow-offset=0xDFFF900000000000, because the compiler
wants to do
	shad = shadow-offset + (addr >> 3)
and we do, in kasan_addr_to_shad
	shad = KASAN_SHADOW_START + ((addr - CANONICAL_BASE) >> 3)
hence
	shad = KASAN_SHADOW_START + (addr >> 3) - (CANONICAL_BASE >> 3)
	     = [KASAN_SHADOW_START - (CANONICAL_BASE >> 3)] + (addr >> 3)
implies
	shadow-offset = KASAN_SHADOW_START - (CANONICAL_BASE >> 3)
	              = 0xFFFF800000000000 - (0xFFFF800000000000 >> 3)
	              = 0xDFFF900000000000

In UVM, we add a kasan_free (that is not preceded by a kasan_alloc). We
don't add poisoned redzones ourselves, but all the functions we execute
do, so we need to manually clear the poison before freeing the stack.

With the help of Kamil for the makefile stuff.

Revision 1.136 / (download) - annotate - [select for diffs], Sun Aug 12 10:43:04 2018 UTC (5 months, 1 week ago) by skrll
Branch: MAIN
Changes since 1.135: +6 -2 lines
Diff to previous 1.135 (colored)

Remove dependency of __BITS on MAX/MIN by providing __MAX/__MIN

Revision 1.132.6.1 / (download) - annotate - [select for diffs], Sat Jan 13 21:33:14 2018 UTC (12 months, 1 week ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.132: +4 -3 lines
Diff to previous 1.132 (colored) next main 1.133 (colored)

Pull up following revision(s) (requested by christos in ticket #473):
	sys/sys/cdefs.h: 1.133-1.135
Ignore __thread for lint for now
--
lint knows about all inline variant syntax...
--
add linted to __USE()

Revision 1.135 / (download) - annotate - [select for diffs], Tue Dec 26 17:08:56 2017 UTC (12 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi, pgoyette-compat-base, 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
Branch point for: pgoyette-compat
Changes since 1.134: +2 -2 lines
Diff to previous 1.134 (colored)

add linted to __USE()

Revision 1.134 / (download) - annotate - [select for diffs], Tue Dec 26 17:03:10 2017 UTC (12 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.133: +2 -2 lines
Diff to previous 1.133 (colored)

lint knows about all inline variant syntax...

Revision 1.100.2.5 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:20 2017 UTC (13 months, 2 weeks ago) by jdolecek
Branch: tls-maxphys
Changes since 1.100.2.4: +34 -5 lines
Diff to previous 1.100.2.4 (colored) next main 1.101 (colored)

update from HEAD

Revision 1.122.2.5 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:16 2017 UTC (16 months, 3 weeks ago) by skrll
Branch: nick-nhusb
Changes since 1.122.2.4: +16 -1 lines
Diff to previous 1.122.2.4 (colored) to branchpoint 1.122 (colored) next main 1.123 (colored)

Sync with HEAD

Revision 1.133.2.2 / (download) - annotate - [select for diffs], Sat Jul 15 13:46:03 2017 UTC (18 months, 1 week ago) by christos
Branch: perseant-stdc-iso10646
Changes since 1.133.2.1: +650 -0 lines
Diff to previous 1.133.2.1 (colored) to branchpoint 1.133 (colored) next main 1.134 (colored)

3233489

Revision 1.133.2.1, Sat Jul 15 13:46:02 2017 UTC (18 months, 1 week ago) by christos
Branch: perseant-stdc-iso10646
Changes since 1.133: +0 -650 lines
FILE REMOVED

file cdefs.h was added on branch perseant-stdc-iso10646 on 2017-07-15 13:46:03 +0000

Revision 1.133 / (download) - annotate - [select for diffs], Sat Jul 15 13:46:02 2017 UTC (18 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, perseant-stdc-iso10646-base, nick-nhusb-base-20170825
Branch point for: perseant-stdc-iso10646
Changes since 1.132: +2 -1 lines
Diff to previous 1.132 (colored)

Ignore __thread for lint for now

Revision 1.129.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:08 2017 UTC (21 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.129: +15 -1 lines
Diff to previous 1.129 (colored) next main 1.130 (colored)

Sync with HEAD

Revision 1.128.2.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:53 2017 UTC (22 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.128.2.1: +15 -1 lines
Diff to previous 1.128.2.1 (colored) to branchpoint 1.128 (colored) next main 1.129 (colored)

Sync with HEAD

Revision 1.132 / (download) - annotate - [select for diffs], Wed Feb 8 17:59:35 2017 UTC (23 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: netbsd-8
Changes since 1.131: +3 -3 lines
Diff to previous 1.131 (colored)

use __nothing instead since __empty is taken in stl_deque.h

Revision 1.131 / (download) - annotate - [select for diffs], Wed Feb 8 16:26:19 2017 UTC (23 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.130: +2 -2 lines
Diff to previous 1.130 (colored)

remove comment in comment

Revision 1.130 / (download) - annotate - [select for diffs], Wed Feb 8 16:13:04 2017 UTC (23 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.129: +15 -1 lines
Diff to previous 1.129 (colored)

add __empty

Revision 1.122.2.4 / (download) - annotate - [select for diffs], Sun Feb 5 13:41:01 2017 UTC (23 months, 2 weeks ago) by skrll
Branch: nick-nhusb
Changes since 1.122.2.3: +3 -3 lines
Diff to previous 1.122.2.3 (colored) to branchpoint 1.122 (colored)

Sync with HEAD

Revision 1.128.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:53 2017 UTC (2 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.128: +3 -3 lines
Diff to previous 1.128 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.129 / (download) - annotate - [select for diffs], Tue Dec 27 21:52:01 2016 UTC (2 years ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, nick-nhusb-base-20170204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.128: +3 -3 lines
Diff to previous 1.128 (colored)

Our lint knows about attributes, stop eating them.

Revision 1.122.2.3 / (download) - annotate - [select for diffs], Sun Dec 27 12:10:18 2015 UTC (3 years ago) by skrll
Branch: nick-nhusb
Changes since 1.122.2.2: +9 -2 lines
Diff to previous 1.122.2.2 (colored) to branchpoint 1.122 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.128 / (download) - annotate - [select for diffs], Thu Nov 19 17:04:01 2015 UTC (3 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.127: +3 -2 lines
Diff to previous 1.127 (colored)

long line police

Revision 1.127 / (download) - annotate - [select for diffs], Wed Oct 14 15:52:40 2015 UTC (3 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.126: +7 -1 lines
Diff to previous 1.126 (colored)

introduce a __syslog__ format, and __sysloglike() macros. If __syslog__
is not available, this fails back to __printf__

Revision 1.122.2.2 / (download) - annotate - [select for diffs], Tue Sep 22 12:06:17 2015 UTC (3 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.122.2.1: +6 -2 lines
Diff to previous 1.122.2.1 (colored) to branchpoint 1.122 (colored)

Sync with HEAD

Revision 1.126 / (download) - annotate - [select for diffs], Sun Aug 30 08:46:44 2015 UTC (3 years, 4 months ago) by mlelstv
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.125: +2 -2 lines
Diff to previous 1.125 (colored)

wishful thinking?

Revision 1.125 / (download) - annotate - [select for diffs], Sun Aug 30 07:55:45 2015 UTC (3 years, 4 months ago) by uebayasi
Branch: MAIN
Changes since 1.124: +5 -1 lines
Diff to previous 1.124 (colored)

Include opt_diagnostic.h.

Revision 1.122.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:32 2015 UTC (3 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.122: +5 -2 lines
Diff to previous 1.122 (colored)

Sync with HEAD

Revision 1.124 / (download) - annotate - [select for diffs], Sun Jan 25 20:45:18 2015 UTC (3 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.123: +2 -2 lines
Diff to previous 1.123 (colored)

add constcond

Revision 1.123 / (download) - annotate - [select for diffs], Sat Jan 24 18:07:37 2015 UTC (3 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.122: +4 -1 lines
Diff to previous 1.122 (colored)

add cast-through-void * macros

Revision 1.122 / (download) - annotate - [select for diffs], Fri Sep 5 05:44:50 2014 UTC (4 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.121: +2 -2 lines
Diff to previous 1.121 (colored)

Don't use or in __RENAME because it triggers -Wc++-compat

Revision 1.100.2.4 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:44 2014 UTC (4 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.100.2.3: +51 -16 lines
Diff to previous 1.100.2.3 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.119.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:54 2014 UTC (4 years, 5 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.119: +8 -6 lines
Diff to previous 1.119 (colored) next main 1.120 (colored)

Rebase.

Revision 1.121 / (download) - annotate - [select for diffs], Fri Aug 8 19:43:49 2014 UTC (4 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-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
Changes since 1.120: +7 -1 lines
Diff to previous 1.120 (colored)

Add __unreachable(), which can be used to mark dead branches when the
compiler can't tell side effects.

Revision 1.120 / (download) - annotate - [select for diffs], Mon Jul 14 18:50:22 2014 UTC (4 years, 6 months ago) by plunky
Branch: MAIN
Changes since 1.119: +2 -6 lines
Diff to previous 1.119 (colored)


remove PCC specific definitions for __packed, __aligned and __section
which result in a _Pragma() usage.  I don't think this ever worked,
as you can't concatenate string literals in this way.  A warning
would have been produced, but until recently did not result in an
error condition so this was overlooked. Use __attribute__ instead as
this is supported by PCC.

Revision 1.88.2.6 / (download) - annotate - [select for diffs], Thu May 22 11:41:18 2014 UTC (4 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.88.2.5: +51 -13 lines
Diff to previous 1.88.2.5 (colored) to branchpoint 1.88 (colored) next main 1.89 (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.107.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:21 2014 UTC (4 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.107: +45 -12 lines
Diff to previous 1.107 (colored) next main 1.108 (colored)

sync with head

Revision 1.119 / (download) - annotate - [select for diffs], Thu Mar 13 20:36:01 2014 UTC (4 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.118: +5 -4 lines
Diff to previous 1.118 (colored)

For compilers without __COUNTER__, make the ctassert name contain
__INCLUDE_LEVEL__ ## _ ## __LINE__.  It's not perfect, but at least it's
better than just __LINE__ since it avoids collisions between .c's and .h's.

Incidentally, why does half of the kernel call CTASSERT() and the
other half __CTASSERT()?

Revision 1.69.10.2 / (download) - annotate - [select for diffs], Fri Feb 14 18:38:15 2014 UTC (4 years, 11 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.69.10.1: +24 -1 lines
Diff to previous 1.69.10.1 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

Change KASSERTMSG/KDASSERTMSG to use varadic arguments like HEAD.
panic -> vpanic, add panic wrapper to vpanic.

Revision 1.118 / (download) - annotate - [select for diffs], Wed Feb 5 01:59:58 2014 UTC (4 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.117: +2 -2 lines
Diff to previous 1.117 (colored)

Add another set of parens

Revision 1.117 / (download) - annotate - [select for diffs], Wed Feb 5 00:18:09 2014 UTC (4 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.116: +2 -2 lines
Diff to previous 1.116 (colored)

mask the shift by __n with NBBY*sizeof(uintmax-t)-1
to suppress the following diagnostic from clang:
error: shift count >= width of type [-Werror,-Wshift-count-overflow]
    PAR_ATTR            = __BITS(63,56),// F=0 memory attributes
                          ^~~~~~~~~~~~~
src/sys/sys/cdefs.h:554:4: note: expanded from macro '__BITS'
        ((__BIT(MAX((__m), (__n)) + 1) - 1) ^ (__BIT(MIN((__m), (__n))) - 1))
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/sys/sys/cdefs.h:550:73: note: expanded from macro '__BIT'
    (((uintmax_t)(__n) >= NBBY * sizeof(uintmax_t)) ? 0 : ((uintmax_t)1 << (uintmax_t)(__n)))
                                                                        ^  ~~~~~~~~~~~~~~~~

Revision 1.116 / (download) - annotate - [select for diffs], Fri Oct 25 14:54:25 2013 UTC (5 years, 2 months ago) by apb
Branch: MAIN
Changes since 1.115: +5 -25 lines
Diff to previous 1.115 (colored)

Now that these attributes are documented in attribute(3), shorten
the comments for __used, __unused, __diagused, and __debugused.
Also s/variable/item/ because the attributes may bve applied
to functions.

Revision 1.115 / (download) - annotate - [select for diffs], Fri Oct 25 08:51:55 2013 UTC (5 years, 2 months ago) by apb
Branch: MAIN
Changes since 1.114: +38 -0 lines
Diff to previous 1.114 (colored)

Add __diagused and __debugused.  These are for marking variables that
are used only in diagnotic or debug code, but unused when NDEBUG is
defined, or DIAGNOSTIC is not defined, or DEBUG is not defined.

Revision 1.114 / (download) - annotate - [select for diffs], Fri Oct 25 08:47:30 2013 UTC (5 years, 2 months ago) by apb
Branch: MAIN
Changes since 1.113: +10 -1 lines
Diff to previous 1.113 (colored)

Add comments explaining what __unused and __used are for.

Revision 1.113 / (download) - annotate - [select for diffs], Wed Oct 16 19:31:43 2013 UTC (5 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.112: +3 -1 lines
Diff to previous 1.112 (colored)

introduce __USE(variable) that uses a variable to squash unused variable
warnings.

Revision 1.112 / (download) - annotate - [select for diffs], Sun Sep 15 13:01:37 2013 UTC (5 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.111: +3 -15 lines
Diff to previous 1.111 (colored)

Remove __CT_LOCAL_PROLOGUE/EPILOGUE hack - instead just mark the typedef
as __unused. Duh!

Revision 1.111 / (download) - annotate - [select for diffs], Sat Sep 14 13:46:30 2013 UTC (5 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.110: +13 -1 lines
Diff to previous 1.110 (colored)

Define a prologue/epilogue for CTASSERTs using local variables (to avoid
warnings about decalarations of localy defined but unused types)

Revision 1.110 / (download) - annotate - [select for diffs], Tue Sep 10 12:54:14 2013 UTC (5 years, 4 months ago) by gsutre
Branch: MAIN
Changes since 1.109: +7 -1 lines
Diff to previous 1.109 (colored)

Unbreak vax build (which still uses gcc 4.1).  See PR lib/48131.

Revision 1.109 / (download) - annotate - [select for diffs], Thu Sep 5 21:00:15 2013 UTC (5 years, 4 months ago) by gsutre
Branch: MAIN
Changes since 1.108: +5 -9 lines
Diff to previous 1.108 (colored)

Implement __negative_p without floating-point arithmetic, using
a solution proposed by jxh on Stack Overflow.  Fixes the second
half of PR lib/48131.

While there, simplify __type_fit_u by using the same logic
as in __type_fit_s.

ok christos@

Revision 1.108 / (download) - annotate - [select for diffs], Thu Sep 5 09:03:13 2013 UTC (5 years, 4 months ago) by gsutre
Branch: MAIN
Changes since 1.107: +3 -2 lines
Diff to previous 1.107 (colored)

Check for overflow in __type_fit_s when casting to intmax_t.
Fixes the first half of PR lib/48131.

ok christos@

Revision 1.100.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:29 2013 UTC (5 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.100.2.2: +6 -1 lines
Diff to previous 1.100.2.2 (colored)

resync from head

Revision 1.107 / (download) - annotate - [select for diffs], Wed May 29 19:02:30 2013 UTC (5 years, 7 months ago) by martin
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.106: +6 -3 lines
Diff to previous 1.106 (colored)

While visibility "protected" is nominaly supported by gcc 4.0 and 4.1
it does not actually work - the compiler does not emmit ".protected"
asm statements for used references to protected symbols, which then
causes the linker to fail and/or produce unloadable libraries.
This recently happened to port vax by the locale changes.

Backporting a fix (ASM_OUTPUT_EXTERNAL in gcc target config) is not
feasible.

So: define __dso_protected only starting with gcc 4.2.

Revision 1.106 / (download) - annotate - [select for diffs], Tue Apr 30 14:45:15 2013 UTC (5 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: khorben-n900
Changes since 1.105: +3 -1 lines
Diff to previous 1.105 (colored)

Add protected visibility marker for things that we want to keep public
for historical ABI issues, but that are not allowed to be overriden.

Revision 1.100.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:11 2013 UTC (5 years, 10 months ago) by tls
Branch: tls-maxphys
Changes since 1.100.2.1: +4 -2 lines
Diff to previous 1.100.2.1 (colored)

resync with head

Revision 1.89.6.2.2.1 / (download) - annotate - [select for diffs], Thu Feb 7 06:58:40 2013 UTC (5 years, 11 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.89.6.2: +3 -1 lines
Diff to previous 1.89.6.2 (colored) next main 1.90 (colored)

Pull rev 1.104 from HEAD:
Don't define __BIT/__BITS if __ASSEMBLER__ is defined.
(since they use C syntax they won't work anyways).

Revision 1.105 / (download) - annotate - [select for diffs], Tue Jan 29 01:23:12 2013 UTC (5 years, 11 months ago) by gdt
Branch: MAIN
CVS Tags: agc-symver-base, agc-symver
Changes since 1.104: +2 -2 lines
Diff to previous 1.104 (colored)

Fix comment documenting __link_set_decl() macro.

The `__link_set_decl()` macro's replacement text includes a `*` after
`ptype`, so `ptype` is the pointed-at type (the type of a dereferenced
array entry), not the pointer type.

(This is a comment-only change.)

(From Richard Hansen of BBN.)

Revision 1.88.2.5 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:30 2013 UTC (5 years, 11 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.88.2.4: +3 -1 lines
Diff to previous 1.88.2.4 (colored) to branchpoint 1.88 (colored)

sync with head

Revision 1.104 / (download) - annotate - [select for diffs], Wed Jan 2 17:02:13 2013 UTC (6 years ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.103: +3 -1 lines
Diff to previous 1.103 (colored)

Don't define __BIT/__BITS if __ASSEMBLER__ is defined.
(since they use C syntax they won't work anyways).

Revision 1.100.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:51 2012 UTC (6 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.100: +10 -1 lines
Diff to previous 1.100 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.88.2.4 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:56 2012 UTC (6 years, 2 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.88.2.3: +17 -4 lines
Diff to previous 1.88.2.3 (colored) to branchpoint 1.88 (colored)

sync with head

Revision 1.103 / (download) - annotate - [select for diffs], Sun Oct 28 17:06:40 2012 UTC (6 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored)

For GCC 4.1 and later, use the __alignof__ keyword.

Revision 1.102 / (download) - annotate - [select for diffs], Mon Oct 22 14:00:07 2012 UTC (6 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.101: +6 -2 lines
Diff to previous 1.101 (colored)

define __alignof() in terms of __alignof__ if it is available.

Revision 1.101 / (download) - annotate - [select for diffs], Sun Oct 21 22:35:52 2012 UTC (6 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.100: +6 -1 lines
Diff to previous 1.100 (colored)

Add an __alignof() macro.

Revision 1.100 / (download) - annotate - [select for diffs], Fri Aug 24 05:47:51 2012 UTC (6 years, 4 months ago) by dholland
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.99: +2 -4 lines
Diff to previous 1.99 (colored)

use #elif rather than nesting #elses

Revision 1.89.6.2 / (download) - annotate - [select for diffs], Sun Jun 24 15:44:07 2012 UTC (6 years, 6 months ago) by jdc
Branch: netbsd-6
CVS Tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base
Branch point for: matt-nb6-plus
Changes since 1.89.6.1: +2 -2 lines
Diff to previous 1.89.6.1 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored)

Pull up revisions:
  src/sys/sys/cdefs.h revisions 1.96,1.97
(requested by joerg in ticket #369).

Revision 1.99 / (download) - annotate - [select for diffs], Sat Jun 2 21:27:51 2012 UTC (6 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.98: +7 -1 lines
Diff to previous 1.98 (colored)

Add a __always_inline

Revision 1.89.4.3 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:39 2012 UTC (6 years, 7 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.89.4.2: +1 -1 lines
Diff to previous 1.89.4.2 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored)

sync to latest -current.

Revision 1.88.2.3 / (download) - annotate - [select for diffs], Wed May 23 10:08:17 2012 UTC (6 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.88.2.2: +2 -2 lines
Diff to previous 1.88.2.2 (colored) to branchpoint 1.88 (colored)

sync with head.

Revision 1.98 / (download) - annotate - [select for diffs], Mon Apr 30 20:41:33 2012 UTC (6 years, 8 months ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Changes since 1.97: +2 -2 lines
Diff to previous 1.97 (colored)

Fix a (obvious) typo

Revision 1.88.2.2 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:51 2012 UTC (6 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.88.2.1: +38 -3 lines
Diff to previous 1.88.2.1 (colored) to branchpoint 1.88 (colored)

sync with head

Revision 1.89.4.2 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:50 2012 UTC (6 years, 9 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.89.4.1: +35 -2 lines
Diff to previous 1.89.4.1 (colored) to branchpoint 1.89 (colored)

sync to latest -current.

Revision 1.97 / (download) - annotate - [select for diffs], Sun Mar 18 16:30:54 2012 UTC (6 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (colored)

remove extra ;

Revision 1.96 / (download) - annotate - [select for diffs], Sun Mar 18 16:20:49 2012 UTC (6 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.95: +2 -2 lines
Diff to previous 1.95 (colored)

add constcond

Revision 1.95 / (download) - annotate - [select for diffs], Sat Mar 17 16:48:35 2012 UTC (6 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored)

use __inline to fix nspr's configure issue

Revision 1.94 / (download) - annotate - [select for diffs], Thu Mar 15 00:09:08 2012 UTC (6 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.93: +12 -7 lines
Diff to previous 1.93 (colored)

- this file is still used from assembly. protect inlines against __ASSEMBLER__
- rename __zero -> __zeroll, __negative -> __negative_p

Revision 1.93 / (download) - annotate - [select for diffs], Tue Mar 13 21:07:28 2012 UTC (6 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.92: +29 -1 lines
Diff to previous 1.92 (colored)

Type macros providing min and max values for the given type, plus one that
returns if a value can be represented in a given type.

Revision 1.89.6.1 / (download) - annotate - [select for diffs], Wed Feb 22 18:40:05 2012 UTC (6 years, 11 months ago) by riz
Branch: netbsd-6
Changes since 1.89: +4 -2 lines
Diff to previous 1.89 (colored)

Pull up following revision(s) (requested by martin in ticket #16):
	sys/sys/cdefs.h: revision 1.90
PR 46040:
If the current compiler doesn't support C99, check if it is compatible
with GCC 2.92. In that case, use the protected __restricted__ form.
In any other case, default to removing __restricted.

Revision 1.92 / (download) - annotate - [select for diffs], Wed Feb 22 17:52:58 2012 UTC (6 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3
Changes since 1.91: +1 -4 lines
Diff to previous 1.91 (colored)

Backout previous - we do not need it anymore

Revision 1.91 / (download) - annotate - [select for diffs], Tue Feb 21 10:53:08 2012 UTC (6 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.90: +4 -1 lines
Diff to previous 1.90 (colored)

There are some places where C99 allows a restrict modifier (and posix
demands it), but C++ does not allow it. So add a C only version of
__restrict, which expands to nothing if compiling C++.
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49347 for a discussion.

Revision 1.89.4.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:47 2012 UTC (6 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.89: +4 -2 lines
Diff to previous 1.89 (colored)

merge to -current.

Revision 1.90 / (download) - annotate - [select for diffs], Fri Feb 17 18:58:51 2012 UTC (6 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: jmcneill-usbmp-base2
Changes since 1.89: +4 -2 lines
Diff to previous 1.89 (colored)

PR 46040:
If the current compiler doesn't support C99, check if it is compatible
with GCC 2.92. In that case, use the protected __restricted__ form.
In any other case, default to removing __restricted.

Revision 1.88.2.1 / (download) - annotate - [select for diffs], Thu Nov 10 14:31:51 2011 UTC (7 years, 2 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.88: +7 -1 lines
Diff to previous 1.88 (colored)

sync with head

Revision 1.89 / (download) - annotate - [select for diffs], Sat Nov 5 09:27:06 2011 UTC (7 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, netbsd-6-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: netbsd-6, jmcneill-usbmp
Changes since 1.88: +7 -1 lines
Diff to previous 1.88 (colored)

Add __returns_twice for the attribute of the same name. This makes the
attribute explicit based on the functions GCC gives it too.

Revision 1.88 / (download) - annotate - [select for diffs], Sun Oct 9 20:30:19 2011 UTC (7 years, 3 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.87: +7 -1 lines
Diff to previous 1.87 (colored)

add __noclone for gcc 4.5.

Revision 1.87 / (download) - annotate - [select for diffs], Tue Aug 16 23:30:24 2011 UTC (7 years, 5 months ago) by dyoung
Branch: MAIN
Changes since 1.86: +9 -1 lines
Diff to previous 1.86 (colored)

Add __strict_weak_alias(), the type-safe alternative to __weak_alias().

Revision 1.84.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:29 2011 UTC (7 years, 7 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.84: +8 -1 lines
Diff to previous 1.84 (colored) next main 1.85 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.86 / (download) - annotate - [select for diffs], Thu Jun 23 12:16:03 2011 UTC (7 years, 7 months ago) by nonaka
Branch: MAIN
Changes since 1.85: +3 -1 lines
Diff to previous 1.85 (colored)

Added __packed define to be able to use eMbedded Visual C++ for building hpcboot.exe.

Revision 1.85 / (download) - annotate - [select for diffs], Thu Jun 16 13:51:26 2011 UTC (7 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.84: +8 -1 lines
Diff to previous 1.84 (colored)

Add an optional MD calling convention flag for use in libsa when space
optimisation is critical. Use this on i386 to switch to register passing
calling convention for the file system entry points and most assembler
call backs that have to preserve at least 3 registers.

Revision 1.81.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:10 2011 UTC (7 years, 7 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.81: +18 -1 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

Sync with HEAD.

Revision 1.69.10.1 / (download) - annotate - [select for diffs], Fri Apr 29 08:10:38 2011 UTC (7 years, 8 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.69: +12 -1 lines
Diff to previous 1.69 (colored)

Move CTASSERT to __CTASSERT in <sys/cdefs.h> (from current)
Add KDASSERTMSG (from current)

Revision 1.78.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:22 2011 UTC (7 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.78: +66 -11 lines
Diff to previous 1.78 (colored) next main 1.79 (colored)

sync with head

Revision 1.81.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:51 2011 UTC (7 years, 10 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.81: +18 -1 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

Sync with HEAD

Revision 1.84 / (download) - annotate - [select for diffs], Sat Feb 19 02:21:21 2011 UTC (7 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, bouyer-quota2-nbase
Branch point for: cherry-xenmp
Changes since 1.83: +5 -1 lines
Diff to previous 1.83 (colored)

Make __CTASSERT use __COUNTER__ instead of __LINE__ if the cpp supports it.

Revision 1.83 / (download) - annotate - [select for diffs], Sat Feb 19 02:01:46 2011 UTC (7 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.82: +8 -1 lines
Diff to previous 1.82 (colored)

Add __CTASSERT(x)

Revision 1.69.14.1 / (download) - annotate - [select for diffs], Fri Feb 18 21:12:17 2011 UTC (7 years, 11 months ago) by matt
Branch: matt-nb5-pq3
Changes since 1.69: +7 -1 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

Add __noprofile attribute and use it to prevent stubs from being profiled.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Feb 18 21:06:12 2011 UTC (7 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.81: +7 -1 lines
Diff to previous 1.81 (colored)

Add a __noprofile keyword to disable the profiling of a function.

Revision 1.81 / (download) - annotate - [select for diffs], Sat Dec 25 22:30:52 2010 UTC (8 years ago) by joerg
Branch: MAIN
CVS Tags: uebayasi-xip-base7, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.80: +23 -19 lines
Diff to previous 1.80 (colored)

Rename __BEGIN_PUBLIC / __BEGIN_HIDDEN to __BEGIN_PUBLIC_DECLS /
__BEGIN_HIDDEN_DECLS and corresponding __END_* macros. Push the extern
"C" logic into __BEGIN_PUBLIC_DECLS / __BEGIN_HIDDEN_DECLS to make them
easier to use in header files used by C++.

Revision 1.78.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:48:06 2010 UTC (8 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.78: +45 -11 lines
Diff to previous 1.78 (colored) next main 1.79 (colored)

Sync with HEAD.

Revision 1.66.18.5 / (download) - annotate - [select for diffs], Wed Aug 11 22:55:10 2010 UTC (8 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.66.18.4: +45 -11 lines
Diff to previous 1.66.18.4 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored)

sync with head.

Revision 1.80 / (download) - annotate - [select for diffs], Sat Aug 7 21:03:18 2010 UTC (8 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.79: +28 -11 lines
Diff to previous 1.79 (colored)

Add __BEGIN_PUBLIC / __END_PUBLIC, __BEGIN_HIDDEN / __END_HIDDEN and
__dso_public and __dso_hidden markers. Change __BEGIN_DECLS /
__END_DECLS to include __BEGIN_PUBLIC / __END_PUBLIC.

Revision 1.79 / (download) - annotate - [select for diffs], Sat Jul 31 00:04:43 2010 UTC (8 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.78: +18 -1 lines
Diff to previous 1.78 (colored)

Define a new __c99inline macro for compilers known to implement the C99
behavior.  This unbreaks GCC 4.4's libgfortran build with the old
signal.h logic, because GCC decided to put the body for the sigsetop
functions in multiple objects.

Revision 1.66.18.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:41 2010 UTC (8 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.66.18.3: +6 -6 lines
Diff to previous 1.66.18.3 (colored) to branchpoint 1.66 (colored)

sync with head

Revision 1.78 / (download) - annotate - [select for diffs], Fri Oct 2 21:05:28 2009 UTC (9 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.77: +6 -6 lines
Diff to previous 1.77 (colored)

lint knows __packed now.

Revision 1.66.18.3 / (download) - annotate - [select for diffs], Wed Aug 19 18:48:32 2009 UTC (9 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.66.18.2: +30 -1 lines
Diff to previous 1.66.18.2 (colored) to branchpoint 1.66 (colored)

sync with head.

Revision 1.77 / (download) - annotate - [select for diffs], Sat Aug 8 21:23:15 2009 UTC (9 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Changes since 1.76: +11 -1 lines
Diff to previous 1.76 (colored)

Create and use __CAST(type, value) in headers so that modern c++ with
-Wold-style-casts does not bitch.

Revision 1.72.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:56 2009 UTC (9 years, 6 months ago) by jym
Branch: jym-xensuspend
Changes since 1.72.2.1: +20 -1 lines
Diff to previous 1.72.2.1 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored)

Sync with HEAD.

Revision 1.76 / (download) - annotate - [select for diffs], Mon Jul 20 17:46:04 2009 UTC (9 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: jymxensuspend-base
Changes since 1.75: +20 -1 lines
Diff to previous 1.75 (colored)

Add __constfunc and explain how it differs from __pure.

Revision 1.66.18.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:52 2009 UTC (9 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.66.18.1: +2 -2 lines
Diff to previous 1.66.18.1 (colored) to branchpoint 1.66 (colored)

sync with head

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:23:03 2009 UTC (9 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.72: +4 -4 lines
Diff to previous 1.72 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.75 / (download) - annotate - [select for diffs], Tue May 12 13:41:44 2009 UTC (9 years, 8 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jym-xensuspend-base
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored)

Fix _packed attribute for PCC. According to Ragge it should be _Pragma("packed
1") instead of _Pragma("packed").

With this fix userland programs needing _packed will now work.

Revision 1.66.18.1 / (download) - annotate - [select for diffs], Mon May 4 08:14:34 2009 UTC (9 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.66: +33 -9 lines
Diff to previous 1.66 (colored)

sync with head.

Revision 1.69.2.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:52 2009 UTC (9 years, 8 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.69.2.1: +3 -3 lines
Diff to previous 1.69.2.1 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

Sync with HEAD.

Revision 1.74 / (download) - annotate - [select for diffs], Wed Apr 22 18:04:02 2009 UTC (9 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored)

Cast the argument of the __BIT to an unsigned type, since it does not make
sense for it to be signed and gcc complains if it is.

Revision 1.73 / (download) - annotate - [select for diffs], Thu Mar 26 22:16:44 2009 UTC (9 years, 9 months ago) by gmcgarry
Branch: MAIN
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored)

Pass argument to __aligned() through __STRING() so that it is correctly expanded.  Now __aligned(CACHE_LINE_SIZE) works with pcc.

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:29 2009 UTC (10 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.69: +19 -1 lines
Diff to previous 1.69 (colored)

Sync with HEAD.

Revision 1.66.14.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:40 2009 UTC (10 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.66.14.3: +18 -0 lines
Diff to previous 1.66.14.3 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored)

Sync with HEAD.

Revision 1.72 / (download) - annotate - [select for diffs], Wed Jan 14 19:41:55 2009 UTC (10 years ago) by pooka
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored)

As promised in the commit message, revert previous.  __RENAME() is
not required by rumpkernel.

Revision 1.71 / (download) - annotate - [select for diffs], Tue Jan 13 22:35:13 2009 UTC (10 years ago) by pooka
Branch: MAIN
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored)

Allow __RENAME if _RUMPKERNEL
(although I'll probably revert this soon, but add it now to allow build)

Revision 1.68.2.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:35 2008 UTC (10 years, 1 month ago) by haad
Branch: haad-dm
Changes since 1.68.2.1: +19 -1 lines
Diff to previous 1.68.2.1 (colored) to branchpoint 1.68 (colored) next main 1.69 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.70 / (download) - annotate - [select for diffs], Wed Dec 10 22:10:47 2008 UTC (10 years, 1 month ago) by alc
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base
Changes since 1.69: +19 -1 lines
Diff to previous 1.69 (colored)

Add the __printflike(), __scanflike() and __format_arg() macros, from FreeBSD

They will be used soon by the Atheros HAL code, many other places can use them
to avoid GCC dependency.

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:18:09 2008 UTC (10 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.68: +8 -8 lines
Diff to previous 1.68 (colored)

Sync with HEAD.

Revision 1.66.14.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:41:04 2008 UTC (10 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.66.14.2: +7 -7 lines
Diff to previous 1.66.14.2 (colored) to branchpoint 1.66 (colored)

Sync with HEAD.

Revision 1.66.20.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:37:04 2008 UTC (10 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.66.20.1: +9 -9 lines
Diff to previous 1.66.20.1 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.69 / (download) - annotate - [select for diffs], Sun Aug 17 00:23:02 2008 UTC (10 years, 5 months ago) by gmcgarry
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, 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, matt-nb5-pq3-base, 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-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-dm-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, matt-nb5-pq3, matt-nb5-mips64
Changes since 1.68: +8 -8 lines
Diff to previous 1.68 (colored)

Add __packed and __aligned support for PCC.
Define away restrict for __lint__.

Revision 1.66.14.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:20 2008 UTC (10 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.66.14.1: +1 -1 lines
Diff to previous 1.66.14.1 (colored) to branchpoint 1.66 (colored)

Sync with HEAD.

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:55 2008 UTC (10 years, 6 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

Sync with head.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Jun 27 01:24:52 2008 UTC (10 years, 6 months ago) by gmcgarry
Branch: MAIN
CVS Tags: simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored)

pcc now supports __section().

Revision 1.66.20.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:32:02 2008 UTC (10 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.66: +7 -1 lines
Diff to previous 1.66 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.66.16.1 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:49 2008 UTC (10 years, 7 months ago) by yamt
Branch: yamt-pf42
Changes since 1.66: +7 -1 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

sync with head

Revision 1.66.14.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:32 2008 UTC (10 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.66: +7 -1 lines
Diff to previous 1.66 (colored)

Sync with HEAD.

Revision 1.67 / (download) - annotate - [select for diffs], Sat May 31 13:28:43 2008 UTC (10 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: simonb-wapbl
Changes since 1.66: +7 -1 lines
Diff to previous 1.66 (colored)

Add a __noinline attribute. Suggested by christos@.

Revision 1.64.24.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:58:06 2008 UTC (11 years ago) by matt
Branch: matt-armv6
Changes since 1.64.24.1: +15 -9 lines
Diff to previous 1.64.24.1 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

sync with HEAD

Revision 1.65.6.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:21:30 2007 UTC (11 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.65: +15 -9 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

Sync with HEAD.

Revision 1.59.2.3 / (download) - annotate - [select for diffs], Fri Dec 7 17:34:52 2007 UTC (11 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.59.2.2: +15 -9 lines
Diff to previous 1.59.2.2 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

sync with head

Revision 1.64.22.2 / (download) - annotate - [select for diffs], Tue Nov 27 19:39:11 2007 UTC (11 years, 1 month ago) by joerg
Branch: jmcneill-pm
Changes since 1.64.22.1: +15 -9 lines
Diff to previous 1.64.22.1 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.66 / (download) - annotate - [select for diffs], Mon Nov 26 14:52:34 2007 UTC (11 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base2, yamt-pf42-base, 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, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, mjf-devfs2
Changes since 1.65: +15 -9 lines
Diff to previous 1.65 (colored)

Separate handling of __attribute__, __dead and __pure:
- define away __attribute__ if not running GCC or running GCC < 2.0.
- use __attribute__((__return__)) for GCC >= 2.5, keep other cases.
- use __attribute__((__pure__)) for GCC >= 29.6, keep other cases.

Revision 1.64.24.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:34:43 2007 UTC (11 years, 2 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.64: +8 -4 lines
Diff to previous 1.64 (colored)

sync with HEAD

Revision 1.59.2.2 / (download) - annotate - [select for diffs], Sat Oct 27 11:36:27 2007 UTC (11 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.59.2.1: +8 -4 lines
Diff to previous 1.59.2.1 (colored) to branchpoint 1.59 (colored)

sync with head.

Revision 1.64.8.1 / (download) - annotate - [select for diffs], Tue Oct 9 13:45:06 2007 UTC (11 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.64: +8 -4 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

Sync with head.

Revision 1.64.22.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:29:26 2007 UTC (11 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.64: +8 -4 lines
Diff to previous 1.64 (colored)

Sync with HEAD.

Revision 1.65 / (download) - annotate - [select for diffs], Sat Sep 15 14:24:27 2007 UTC (11 years, 4 months ago) by ragge
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs
Changes since 1.64: +8 -4 lines
Diff to previous 1.64 (colored)

Add basic defines to be able to use pcc as compiler (renaming etc).

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:55 2006 UTC (12 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.59: +29 -2 lines
Diff to previous 1.59 (colored)

sync with head.

Revision 1.61.4.1 / (download) - annotate - [select for diffs], Sun Dec 10 07:19:28 2006 UTC (12 years, 1 month ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.61: +7 -5 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

sync with head.

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:46 2006 UTC (12 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.61: +7 -5 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Sync with head.

Revision 1.64 / (download) - annotate - [select for diffs], Mon Nov 13 05:44:37 2006 UTC (12 years, 2 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-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, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, matt-armv6, jmcneill-pm
Changes since 1.63: +2 -3 lines
Diff to previous 1.63 (colored)

Cosmetic: join lines.

Revision 1.63 / (download) - annotate - [select for diffs], Mon Nov 13 03:35:59 2006 UTC (12 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.62: +6 -3 lines
Diff to previous 1.62 (colored)

Stop using typeof() in the bit-twiddling macros, per yamt@'s
suggestion.  This change requires that I use the __PRIuBITS format
string in atw and rtw, so do that.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Oct 27 22:10:56 2006 UTC (12 years, 2 months ago) by uwe
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

Define __used as __unused for gcc's that don't grok __attribute__((__used__))

Those older versions of gcc don't eliminate unused functions/vars
anyway, so it's enough just to suppress the warning.

Revision 1.60.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:59:41 2006 UTC (12 years, 4 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.60: +26 -1 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

sync with head

Revision 1.60.8.1 / (download) - annotate - [select for diffs], Sun Sep 3 15:25:56 2006 UTC (12 years, 4 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.60: +26 -1 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

sync with head.

Revision 1.61 / (download) - annotate - [select for diffs], Thu Aug 31 19:24:38 2006 UTC (12 years, 4 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.60: +26 -1 lines
Diff to previous 1.60 (colored)

Per discussion on tech-kern and tech-userlevel, move the bit-twiddling
macros, __BIT, __BITS, SHIFTIN, SHIFTOUT, and __arraycount() from
lib/libkern/libkern.h to sys/cdefs.h.  Add a __-prefix to SHIFTIN
and SHIFTOUT, and add a manual page for the bit-twiddling macros,
bits(3).

Make the __BIT and __BITS macros "widthless," as best I can, by
changing their type to uintmax_t from uint32_t.  XXX The manual
page lags this change by a bit.

Define __PRIxBIT and __PRIxBITS printf(3) format strings.

Revision 1.58.8.1 / (download) - annotate - [select for diffs], Tue May 9 12:53:44 2006 UTC (12 years, 8 months ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.58: +10 -1 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1304):
	sys/sys/cdefs.h: revision 1.59
Add an __UNVOLATILE() macro.  It should be used with caution, but
it is required to use this whenever you want to pass a pointer to
volatile data e.g. to memset().  This allows us to still compile
files doing such things with -Wcast-qual and get the rest of the
code checked under that option.
Based on suggestions from tron and christos.

Revision 1.60 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:20 2005 UTC (13 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb
Changes since 1.59: +1 -1 lines
Diff to previous 1.59 (colored)

merge ktrace-lwp.

Revision 1.48.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:12:12 2005 UTC (13 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.48.2.5: +10 -1 lines
Diff to previous 1.48.2.5 (colored) next main 1.49 (colored)

Sync with HEAD. Here we go again...

Revision 1.59 / (download) - annotate - [select for diffs], Thu Jun 2 14:31:38 2005 UTC (13 years, 7 months ago) by he
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, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.58: +10 -1 lines
Diff to previous 1.58 (colored)

Add an __UNVOLATILE() macro.  It should be used with caution, but
it is required to use this whenever you want to pass a pointer to
volatile data e.g. to memset().  This allows us to still compile
files doing such things with -Wcast-qual and get the rest of the
code checked under that option.

Based on suggestions from tron and christos.

Revision 1.51.4.1 / (download) - annotate - [select for diffs], Wed Jun 1 14:20:05 2005 UTC (13 years, 7 months ago) by riz
Branch: netbsd-2
CVS Tags: 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
Changes since 1.51: +18 -1 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Pull up revisions 1.52-1.58 (requested by christos in ticket #1967):

1.52:
define a __used attribute (empty for gcc&lt;2.7)

1.53:
The __used__ attribute first appeared in gcc 3.1, not in 2.7, according
to the gcc expertise.  Fixes build problem for the vax port, which still
uses gcc 2.95.3.

1.54:
add __DECONST()

1.55:
DECONST-&gt;UNCONST

1.56:
a little safer impl of __UNCONST, using __typeof__ if __GNUC__.

1.57:
__UNCONST: add parens around a macro argument.

1.58:
kill gcc specific version of __UNCONST. Does not work to unconst
const char *foo[];

Revision 1.48.2.5 / (download) - annotate - [select for diffs], Sat Dec 18 09:33:17 2004 UTC (14 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.48.2.4: +1 -5 lines
Diff to previous 1.48.2.4 (colored)

Sync with HEAD.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Dec 11 05:59:00 2004 UTC (14 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, 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, kent-audio2-base, kent-audio2, kent-audio1-beforemerge
Branch point for: netbsd-3
Changes since 1.57: +1 -5 lines
Diff to previous 1.57 (colored)

kill gcc specific version of __UNCONST. Does not work to unconst
const char *foo[];

Revision 1.48.2.4 / (download) - annotate - [select for diffs], Fri Sep 24 10:53:43 2004 UTC (14 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.48.2.3: +5 -1 lines
Diff to previous 1.48.2.3 (colored)

Sync with HEAD.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Sep 23 22:13:40 2004 UTC (14 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

__UNCONST: add parens around a macro argument.

Revision 1.56 / (download) - annotate - [select for diffs], Thu Sep 23 17:40:16 2004 UTC (14 years, 4 months ago) by yamt
Branch: MAIN
Changes since 1.55: +5 -1 lines
Diff to previous 1.55 (colored)

a little safer impl of __UNCONST, using __typeof__ if __GNUC__.

Revision 1.48.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:38:45 2004 UTC (14 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.48.2.2: +1 -1 lines
Diff to previous 1.48.2.2 (colored)

Fix the sync with head I botched.

Revision 1.48.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:56:30 2004 UTC (14 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.48.2.1: +0 -0 lines
Diff to previous 1.48.2.1 (colored)

Sync with HEAD.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:56:25 2004 UTC (14 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.48: +31 -7 lines
Diff to previous 1.48 (colored)

Sync with HEAD

Revision 1.55 / (download) - annotate - [select for diffs], Thu Jul 1 19:05:12 2004 UTC (14 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

DECONST->UNCONST

Revision 1.54 / (download) - annotate - [select for diffs], Wed Jun 30 13:57:32 2004 UTC (14 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.53: +12 -1 lines
Diff to previous 1.53 (colored)

add __DECONST()

Revision 1.53 / (download) - annotate - [select for diffs], Fri Jun 11 07:11:00 2004 UTC (14 years, 7 months ago) by he
Branch: MAIN
Changes since 1.52: +6 -2 lines
Diff to previous 1.52 (colored)

The __used__ attribute first appeared in gcc 3.1, not in 2.7, according
to the gcc expertise.  Fixes build problem for the vax port, which still
uses gcc 2.95.3.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Jun 7 18:36:24 2004 UTC (14 years, 7 months ago) by drochner
Branch: MAIN
Changes since 1.51: +3 -1 lines
Diff to previous 1.51 (colored)

define a __used attribute (empty for gcc<2.7)

Revision 1.42.10.2 / (download) - annotate - [select for diffs], Tue Apr 20 06:21:17 2004 UTC (14 years, 9 months ago) by tron
Branch: netbsd-1-6
Changes since 1.42.10.1: +1 -1 lines
Diff to previous 1.42.10.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

Pull up revision 1.50 (requested by kleink in ticket #1677):
trim leading whitespace from an #error, shuts up warning from
makedepend.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Jan 7 19:38:10 2004 UTC (15 years ago) by martin
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-0-base, 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-0
Branch point for: netbsd-2
Changes since 1.50: +12 -1 lines
Diff to previous 1.50 (colored)

Add a __insn_barrier() macro to stop the optimizer from moving code
accross the barrier or assume liveness of register values.
Suggested by Jason Thorpe and Steve Woodford.

Revision 1.50 / (download) - annotate - [select for diffs], Wed Oct 29 01:11:16 2003 UTC (15 years, 2 months ago) by grant
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

trim leading whitespace from an #error, shuts up warning from
makedepend.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Aug 7 16:34:00 2003 UTC (15 years, 5 months ago) by agc
Branch: MAIN
Changes since 1.48: +2 -6 lines
Diff to previous 1.48 (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.48 / (download) - annotate - [select for diffs], Wed Feb 5 00:02:39 2003 UTC (15 years, 11 months ago) by perry
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

"Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".

Revision 1.47 / (download) - annotate - [select for diffs], Sat Jan 18 18:05:56 2003 UTC (16 years ago) by christos
Branch: MAIN
Changes since 1.46: +5 -5 lines
Diff to previous 1.46 (colored)

get rid of the != 0 in the non-gcc aware case.

Revision 1.42.10.1 / (download) - annotate - [select for diffs], Wed Jan 1 17:20:07 2003 UTC (16 years ago) by tron
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

Pull up revision 1.46 (requested by kristerw in ticket #1052):
It is not valid C++ to have a semicolon after
   extern "C" {}
so remove it from __END_DECLS.

Revision 1.40.2.5 / (download) - annotate - [select for diffs], Sun Dec 29 21:03:39 2002 UTC (16 years ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.40.2.4: +2 -2 lines
Diff to previous 1.40.2.4 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

Sync with HEAD.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Dec 29 19:21:34 2002 UTC (16 years ago) by kristerw
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

It is not valid C++ to have a semicolon after
   extern "C" {}
so remove it from __END_DECLS.

Revision 1.40.2.4 / (download) - annotate - [select for diffs], Fri Nov 1 23:04:38 2002 UTC (16 years, 2 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.40.2.3: +50 -1 lines
Diff to previous 1.40.2.3 (colored) to branchpoint 1.40 (colored)

Sync with HEAD.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Nov 1 22:58:44 2002 UTC (16 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.44: +50 -1 lines
Diff to previous 1.44 (colored)

Add support for "link sets", which are arrays of pointers to objects
gathered together in named sections by the linker.

Revision 1.40.2.3 / (download) - annotate - [select for diffs], Fri Oct 18 02:45:39 2002 UTC (16 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.40.2.2: +21 -1 lines
Diff to previous 1.40.2.2 (colored) to branchpoint 1.40 (colored)

Catch up to -current.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Oct 10 17:02:23 2002 UTC (16 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-aftermerge
Changes since 1.43: +4 -2 lines
Diff to previous 1.43 (colored)

Deal with the fact that __GNUC__ is not defined when preprocessing
assembler (Grr).

Revision 1.43 / (download) - annotate - [select for diffs], Thu Oct 10 01:41:59 2002 UTC (16 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.42: +19 -1 lines
Diff to previous 1.42 (colored)

Add __unused, __packed, __aligned(), and __section() macros.  Inspired
by FreeBSD.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 20:04:38 2002 UTC (17 years ago) by thorpej
Branch: kqueue
Changes since 1.41: +15 -1 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Sync kqueue branch with -current.

Revision 1.40.2.2 / (download) - annotate - [select for diffs], Tue Jan 8 00:34:39 2002 UTC (17 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.40.2.1: +15 -1 lines
Diff to previous 1.40.2.1 (colored) to branchpoint 1.40 (colored)

Catch up to -current.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Nov 23 10:19:47 2001 UTC (17 years, 2 months ago) by enami
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, kqueue-base, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6
Changes since 1.41: +15 -1 lines
Diff to previous 1.41 (colored)

Provide compat definition of __func__ for pre-C99 compiler.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 20:09:44 2001 UTC (17 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.40: +5 -3 lines
Diff to previous 1.40 (colored)

Catch up to -current.

Revision 1.41 / (download) - annotate - [select for diffs], Sun May 6 14:04:58 2001 UTC (17 years, 8 months ago) by kleink
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
Branch point for: kqueue
Changes since 1.40: +5 -3 lines
Diff to previous 1.40 (colored)

Add a __static_cast() macro to help standard headers when used in C++
compile environments using G++'s -Wold-style-cast warning;
suggested by Dave Sainty in PR lib/11766.

Revision 1.29.8.2 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:58 2001 UTC (18 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.29.8.1: +4 -2 lines
Diff to previous 1.29.8.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Sync with HEAD

Revision 1.40 / (download) - annotate - [select for diffs], Wed Dec 27 10:05:22 2000 UTC (18 years ago) by kleink
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.39: +4 -2 lines
Diff to previous 1.39 (colored)

Make __restrict actually DTRT for non-C99 GCC >= 2.92.

Revision 1.29.8.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:11:26 2000 UTC (18 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.29: +77 -15 lines
Diff to previous 1.29 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.39 / (download) - annotate - [select for diffs], Wed Sep 27 10:44:12 2000 UTC (18 years, 3 months ago) by kleink
Branch: MAIN
Changes since 1.38: +11 -1 lines
Diff to previous 1.38 (colored)

Provide a stub for restrict.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Aug 9 03:23:10 2000 UTC (18 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.37: +1 -7 lines
Diff to previous 1.37 (colored)

Remove the "kprintf" gcc attribute permanently.  Use standard "printf"
format checking.  We are now at 1.5E, as the removal of %b will cause
third-party LKMs to break.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Aug 7 16:35:33 2000 UTC (18 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

#ifdef __STDC__ -> #if __STDC__

Revision 1.36 / (download) - annotate - [select for diffs], Sat May 27 12:22:24 2000 UTC (18 years, 7 months ago) by kleink
Branch: MAIN
CVS Tags: 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
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Spelling nit.

Revision 1.35 / (download) - annotate - [select for diffs], Sat May 20 14:26:01 2000 UTC (18 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

Don't define __inline as "/* delete GCC keyword */" if __lint__ is
defined - lint(1) already knows about the __inline modifier.

This stops lint from generating "static function ... unused" warnings
for static __inline functions.

Revision 1.34 / (download) - annotate - [select for diffs], Mon May 8 22:41:38 2000 UTC (18 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.33: +7 -1 lines
Diff to previous 1.33 (colored)

Add an additional usage note about using __predict_*() only in hot spots,
as suggested by Chris Demetriou.

Revision 1.33 / (download) - annotate - [select for diffs], Mon May 8 18:36:00 2000 UTC (18 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.32: +31 -1 lines
Diff to previous 1.32 (colored)

Add __predict_true() and __predict_false() macros to access the
explicit branch prediction available on GCC 2.96 and later.  See
the comment regarding usage.

Revision 1.32 / (download) - annotate - [select for diffs], Fri May 5 00:19:04 2000 UTC (18 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.31: +22 -4 lines
Diff to previous 1.31 (colored)

Add a new macro, __GNUC_PREREQ__(major, minor) which tests to see if
the compiler is GCC and at least the version specified by <major,minor>,
and use it in a few appropriate places in this file.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Feb 3 02:20:13 2000 UTC (18 years, 11 months ago) by cgd
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.30: +5 -1 lines
Diff to previous 1.30 (colored)

instead of just going on as normal if __RENAME() is used in kernel
(_KERNEL) or standalone (_STANDALONE) files, replace it with some
text that'll cause an error.  __RENAME() should never be used in
the kernel (there's no need, at least, with the current way of doing
things), and is downright annoying in standalone code.  (In a standalone
build environment, there may be no sane way to do symbol renaming,
which means that even just faking it and defining it to emptyness
would cause problems if it were actually needed.)

Revision 1.29.14.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:36:33 1999 UTC (19 years ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Pull up to last week's -current.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Dec 13 08:25:16 1999 UTC (19 years, 1 month ago) by itohy
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

Fix symbol renaming on  cc -traditional.
Fix PRs bin/5167 and lib/6310.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Mar 20 01:39:22 1999 UTC (19 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base, chs-ubc2
Branch point for: wrstuden-devbsize, thorpej_scsipi
Changes since 1.28: +22 -23 lines
Diff to previous 1.28 (colored)

Factor out a.out vs. ELF cdefs from the various <machine/cdefs.h> files,
and place them in cdefs_{aout,elf}.h as appropriate.  Rearrange cdefs.h
to account for this.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Dec 20 17:46:46 1998 UTC (20 years, 1 month ago) by kleink
Branch: MAIN
Changes since 1.27: +9 -1 lines
Diff to previous 1.27 (colored)

Delete __extension__ on non-GCC or GCC1.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jul 27 09:09:03 1998 UTC (20 years, 6 months ago) by mycroft
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base, chs-ubc
Changes since 1.26: +10 -1 lines
Diff to previous 1.26 (colored)

Make many of the new consts dependent on a new `__AUDIT__' flag, to avoid
breaking third party software.  *sigh*

Revision 1.26 / (download) - annotate - [select for diffs], Fri May 22 00:19:42 1998 UTC (20 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

___CONCAT was Broken.  (The new version may not work exactly as people
would expect, but at least cpp doesn't choke on it.)

Revision 1.25 / (download) - annotate - [select for diffs], Sun Mar 1 02:24:12 1998 UTC (20 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Merge with Lite2 + local changes

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:13:57 1998 UTC (20 years, 10 months ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +3 -2 lines
Diff to previous 1.1.1.2 (colored)

Import 4.4BSD-Lite2

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:11:00 1998 UTC (20 years, 10 months ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1.1.1: +54 -10 lines
Diff to previous 1.1.1.1 (colored)

Import 4.4BSD-Lite for reference

Revision 1.18.8.4 / (download) - annotate - [select for diffs], Wed Nov 5 00:52:01 1997 UTC (21 years, 2 months ago) by thorpej
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Changes since 1.18.8.3: +8 -4 lines
Diff to previous 1.18.8.3 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

Pull up from trunk:

Define ___CONCAT() and ___STRING() before including <machine/cdefs.h>
so that the appropriate CPP evil takes place.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Nov 5 00:50:29 1997 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.23: +8 -4 lines
Diff to previous 1.23 (colored)

Define ___CONCAT() and ___STRING() before including <machine/cdefs.h>
so that the appropriate CPP evil takes place.

Revision 1.18.8.3 / (download) - annotate - [select for diffs], Tue Nov 4 23:23:51 1997 UTC (21 years, 2 months ago) by thorpej
Branch: netbsd-1-3
Changes since 1.18.8.2: +6 -3 lines
Diff to previous 1.18.8.2 (colored) to branchpoint 1.18 (colored)

Sync w/ trunk.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Nov 4 23:22:40 1997 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.22: +6 -3 lines
Diff to previous 1.22 (colored)

- define ___STRING() and ___CONCAT() macros which invoke
  their double-underscore counterparts (cpp evil).
- define __RENAME() to do what lint expects, so that
  renamed functions are handled properly.

From Chris Demetriou <cgd@pa.dec.com>.

Revision 1.18.8.2 / (download) - annotate - [select for diffs], Fri Oct 24 21:03:23 1997 UTC (21 years, 3 months ago) by mellon
Branch: netbsd-1-3
Changes since 1.18.8.1: +5 -1 lines
Diff to previous 1.18.8.1 (colored) to branchpoint 1.18 (colored)

Pull rev 1.22 up from trunk

Revision 1.22 / (download) - annotate - [select for diffs], Fri Oct 24 15:32:48 1997 UTC (21 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

lint -> __lint

Revision 1.21 / (download) - annotate - [select for diffs], Thu Oct 23 22:02:58 1997 UTC (21 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.20: +5 -1 lines
Diff to previous 1.20 (colored)

Define __RENAME as a noop if lint is defined.
[probably needs pull-up]

Revision 1.18.8.1 / (download) - annotate - [select for diffs], Wed Oct 22 06:16:12 1997 UTC (21 years, 3 months ago) by thorpej
Branch: netbsd-1-3
Changes since 1.18: +6 -1 lines
Diff to previous 1.18 (colored)

Pull up from trunk: Implement __RENAME() in <machine/cdefs.h>

Revision 1.20 / (download) - annotate - [select for diffs], Wed Oct 22 05:20:32 1997 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +2 -9 lines
Diff to previous 1.19 (colored)

Implement __RENAME() in <machine/cdefs.h>

Revision 1.19 / (download) - annotate - [select for diffs], Wed Oct 22 00:51:45 1997 UTC (21 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.18: +13 -1 lines
Diff to previous 1.18 (colored)

New hacks to make libc work painlessly without bumping the major number:
use type func(arg1s) asm("emitted_name") gcc mechanism.
Suggested by Bill Sommerfeld.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jun 18 19:09:50 1997 UTC (21 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, bouyer-scsipi
Branch point for: netbsd-1-3
Changes since 1.17: +12 -1 lines
Diff to previous 1.17 (colored)

Add __IDSTRING, __RCSID, and __COPYRIGHT macros.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jan 22 07:09:07 1997 UTC (22 years ago) by mikel
Branch: MAIN
CVS Tags: mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

add multiple inclusion protection

Revision 1.16 / (download) - annotate - [select for diffs], Wed Apr 3 20:46:39 1996 UTC (22 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-setroot, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.15: +7 -1 lines
Diff to previous 1.15 (colored)

Change kprintf attribute to be conditional on the pre-processor define
__KPRINTF_ATTRIBUTE__ so that our kernel compiles cleanly with versions
of gcc that do not support the kprintf format attribute.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jan 19 01:54:52 1995 UTC (24 years ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.14: +3 -19 lines
Diff to previous 1.14 (colored)

Machine dependant stuff has been moved to <machine/cdefs.h>.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Oct 7 14:28:26 1994 UTC (24 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

Fix typos.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Oct 5 17:26:54 1994 UTC (24 years, 3 months ago) by jtc
Branch: MAIN
Changes since 1.12: +11 -10 lines
Diff to previous 1.12 (colored)

Added __weak_reference() macro.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Fri Jul 22 03:38:38 1994 UTC (24 years, 6 months ago) by cgd
Branch: netbsd-1-0
CVS Tags: netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0
Changes since 1.10: +18 -1 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

from trunk

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jul 22 01:44:47 1994 UTC (24 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.11: +1 -2 lines
Diff to previous 1.11 (colored)

one too many #endif's.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jul 20 22:12:50 1994 UTC (24 years, 6 months ago) by jtc
Branch: MAIN
Changes since 1.10: +19 -1 lines
Diff to previous 1.10 (colored)

Added __warn_references macro, which is used to instruct the linker to
print a warning message if a given symbol is referenced.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 29 06:43:40 1994 UTC (24 years, 6 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jun 27 19:30:43 1994 UTC (24 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

new standard, minimally intrusive ID format

Revision 1.8 / (download) - annotate - [select for diffs], Tue May 24 00:52:57 1994 UTC (24 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.7: +54 -41 lines
Diff to previous 1.7 (colored)

update from Lite, with a few fixes that have been punted back.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Dec 12 07:47:04 1993 UTC (25 years, 1 month ago) by cgd
Branch: MAIN
CVS Tags: wnvm, nvm-base, nvm
Changes since 1.6: +4 -3 lines
Diff to previous 1.6 (colored)

handle __attribute__ correctly when using gcc -traditional.
suggested, but different than what provided by Mark Weaver.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Dec 3 20:39:35 1993 UTC (25 years, 1 month ago) by jtc
Branch: MAIN
Changes since 1.5: +10 -1 lines
Diff to previous 1.5 (colored)

Disable GCC's __attribute__ extension when we're not using GCC.

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Fri Sep 24 08:57:44 1993 UTC (25 years, 4 months ago) by mycroft
Branch: magnum
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Changes from trunk.
conf.h, disk.h, disklabel.h: strategy functions return void.  dump functions
take dev, blkno, maddr, and length.
dkstat.h: Add CP_INTR.
mount.h: Make fsid_t a structure with two longs inside, now that quad is gone.
proc.h: Replace p_[us]time with p_[usi]ticks.
systm.h: Don't declare spl*() or psuedo-device attach functions.  Declare
endtsleep().  Change declaration of panic().
types.h: Replace u_quad and quad with u_quad_t and quad_t, which use the GCC
`long long' type.  Modify qaddr_t accordingly.
vnode.h: Change va_size and va_bytes to u_quad_ts.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Sep 23 23:44:09 1993 UTC (25 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.4: +6 -1 lines
Diff to previous 1.4 (colored)

if __P is already defined, undef it.

Revision 1.4 / (download) - annotate - [select for diffs], Wed May 26 14:52:56 1993 UTC (25 years, 8 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-0-9-patch-001, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, magnum-base
Branch point for: magnum
Changes since 1.3: +17 -1 lines
Diff to previous 1.3 (colored)

add "dead" and "pure" declarations, as provided by new db code

Revision 1.3 / (download) - annotate - [select for diffs], Thu May 20 16:21:52 1993 UTC (25 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

add rcs ids as necessary, and also clean up headers

Revision 1.2 / (download) - annotate - [select for diffs], Mon Apr 19 01:22:22 1993 UTC (25 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Add consistent multiple-inclusion protection.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (25 years, 10 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (25 years, 10 months ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>