250e158ddf
This allows replacing "sys/eventfilter.h" includes with "sys/_eventfilter.h" in other header files (e.g., sys/{bus,conf,cpu}.h) and reduces header pollution substantially. EVENTHANDLER_DECLARE and EVENTHANDLER_LIST_DECLAREs were moved out of .c files into appropriate headers (e.g., sys/proc.h, powernv/opal.h). As a side effect of reduced header pollution, many .c files and headers no longer contain needed definitions. The remainder of the patch addresses adding appropriate includes to fix those files. LOCK_DEBUG and LOCK_FILE_LINE_ARG are moved to sys/_lock.h, as required by sys/mutex.h since r326106 (but silently protected by header pollution prior to this change). No functional change (intended). Of course, any out of tree modules that relied on header pollution for sys/eventhandler.h, sys/lock.h, or sys/mutex.h inclusion need to be fixed. __FreeBSD_version has been bumped. |
||
---|---|---|
.. | ||
apic_vector.s | ||
atpic_vector.s | ||
bios.c | ||
bioscall.s | ||
bpf_jit_machdep.c | ||
bpf_jit_machdep.h | ||
copyout_fast.s | ||
copyout.c | ||
db_disasm.c | ||
db_interface.c | ||
db_trace.c | ||
elan-mmcr.c | ||
elf_machdep.c | ||
exception.s | ||
gdb_machdep.c | ||
genassym.c | ||
geode.c | ||
in_cksum.c | ||
initcpu.c | ||
io.c | ||
k6_mem.c | ||
locore.s | ||
longrun.c | ||
machdep.c | ||
mem.c | ||
minidump_machdep_base.c | ||
minidump_machdep_nopae.c | ||
minidump_machdep_pae.c | ||
minidump_machdep.c | ||
mp_clock.c | ||
mp_machdep.c | ||
mpboot.s | ||
npx.c | ||
perfmon.c | ||
pmap_base.c | ||
pmap_nopae.c | ||
pmap_pae.c | ||
pmap.c | ||
prof_machdep.c | ||
ptrace_machdep.c | ||
sigtramp.s | ||
support.s | ||
swtch.s | ||
sys_machdep.c | ||
trap.c | ||
uio_machdep.c | ||
vm86.c | ||
vm86bios.s | ||
vm_machdep.c |