freebsd-nq/sys/ia64/include
Poul-Henning Kamp 46aa3347cb Convert all users of fldoff() to offsetof(). fldoff() is bad
because it only takes a struct tag which makes it impossible to
use unions, typedefs etc.

Define __offsetof() in <machine/ansi.h>

Define offsetof() in terms of __offsetof() in <stddef.h> and <sys/types.h>

Remove myriad of local offsetof() definitions.

Remove includes of <stddef.h> in kernel code.

NB: Kernelcode should *never* include from /usr/include !

Make <sys/queue.h> include <machine/ansi.h> to avoid polluting the API.

Deprecate <struct.h> with a warning.  The warning turns into an error on
01-12-2000 and the file gets removed entirely on 01-01-2001.

Paritials reviews by:   various.
Significant brucifications by:  bde
2000-10-27 11:45:49 +00:00
..
pc
_limits.h Adjust comments 2000-10-24 10:49:56 +00:00
ansi.h Convert all users of fldoff() to offsetof(). fldoff() is bad 2000-10-27 11:45:49 +00:00
asm.h
atomic.h Implement atomic_{set,clear,add,subtract}_{acq_,rel_,}_ptr() 2000-10-25 00:16:38 +00:00
bootinfo.h
bus_memio.h
bus_pio.h
bus.h Axe the barrier_{read,write,rw}() helper functions as this method of 2000-10-20 06:45:48 +00:00
clock.h
clockvar.h
console.h
cpu.h * Correct some of my misunderstandings about how best to switch to the 2000-10-16 08:54:40 +00:00
cpufunc.h
db_machdep.h
efi.h
elf.h
endian.h
exec.h
float.h
floatingpoint.h
fpu.h
frame.h * Various fixes to breakage introduced by the atomic and mutex reorgs. 2000-10-24 19:54:38 +00:00
globaldata.h
globals.h CURTHD now defines in globals.h 2000-10-23 18:39:30 +00:00
ia64_cpu.h * Various fixes to breakage introduced by the atomic and mutex reorgs. 2000-10-24 19:54:38 +00:00
ieee.h
ieeefp.h
in_cksum.h
inst.h
intr.h
intrcnt.h
ioctl_bt848.h
ioctl_fd.h
ioctl_meteor.h
ipl.h - Overhaul the software interrupt code to use interrupt threads for each 2000-10-25 05:19:40 +00:00
limits.h Adjust comments 2000-10-24 10:49:56 +00:00
lock.h
md_var.h - Overhaul the software interrupt code to use interrupt threads for each 2000-10-25 05:19:40 +00:00
mouse.h
mutex.h * Various fixes to breakage introduced by the atomic and mutex reorgs. 2000-10-24 19:54:38 +00:00
pal.h
param.h Implement write combining for crashdumps. This is useful when 2000-10-17 10:05:49 +00:00
pcb.h
pcpu.h
pmap.h
proc.h
profile.h
ptrace.h
reg.h
reloc.h
resource.h
setjmp.h
sigframe.h
signal.h * Various fixes to breakage introduced by the atomic and mutex reorgs. 2000-10-24 19:54:38 +00:00
smp.h
stdarg.h
sysarch.h
types.h
ucontext.h * Various fixes to breakage introduced by the atomic and mutex reorgs. 2000-10-24 19:54:38 +00:00
varargs.h
vmparam.h