freebsd-dev/sys/sparc64
Jake Burkholder d86b2422b9 Move the CTASSERT macro from MD code to systm.h alongside KASSERT so other
code can use it.  This takes a single constant argument and fails to compile
if it is 0 (false).  The main application of this is to make assertions about
structure sizes at compile time, in order to validate assumptions made in
other code.  Examples:

CTASSERT(sizeof(struct foo) == FOO_SIZEOF);
CTASSERT(sizeof(struct foo) == (1 << FOO_SHIFT));

Requested by:	jhb, phk
2002-04-01 21:55:00 +00:00
..
compile Obrien created this directory, but I didn't cvs add cvsignore 2001-07-01 23:37:03 +00:00
conf Sync with other arches; add bloat. 2002-03-23 16:55:37 +00:00
ebus Make the OpenFirmware interrupt mapping code more generic, to reduce 2002-03-24 02:11:06 +00:00
include Move the CTASSERT macro from MD code to systm.h alongside KASSERT so other 2002-04-01 21:55:00 +00:00
isa Make the OpenFirmware interrupt mapping code more generic, to reduce 2002-03-24 02:11:06 +00:00
pci Revamp the busdma implementation a bit: 2002-03-24 02:50:53 +00:00
sbus Revamp the busdma implementation a bit: 2002-03-24 02:50:53 +00:00
sparc64 ktr changes to improve performance and make writing a userland utility to 2002-04-01 05:35:26 +00:00