]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement a new generic mechanism for attaching handler functions to
authorMike Smith <msmith@FreeBSD.org>
Sat, 21 Aug 1999 06:24:40 +0000 (06:24 +0000)
committerMike Smith <msmith@FreeBSD.org>
Sat, 21 Aug 1999 06:24:40 +0000 (06:24 +0000)
commitfcb893a801d281f10818fb4c88ed31215283a94e
treef4575d58021ad3c4d19c4d403050bb3dad3543da
parent2a67fa4383b91146ae25b36cde91d05ffd7d5597
Implement a new generic mechanism for attaching handler functions to
events, in order to pave the way for removing a number of the ad-hoc
implementations currently in use.

Retire the at_shutdown family of functions and replace them with
new event handler lists.

Rework kern_shutdown.c to take greater advantage of the use of event
handlers.

Reviewed by: green
30 files changed:
sys/cam/scsi/scsi_da.c
sys/conf/files
sys/dev/aic7xxx/aic7xxx.c
sys/dev/de/if_de.c
sys/dev/dpt/dpt_scsi.c
sys/dev/en/if_en_pci.c
sys/dev/hea/eni.c
sys/dev/hfa/fore_load.c
sys/dev/ie/if_ie.c
sys/dev/pdq/if_fpa.c
sys/dev/syscons/syscons.c
sys/dev/tx/if_tx.c
sys/dev/vx/if_vx_pci.c
sys/dev/wi/if_wi.c
sys/i386/apm/apm.c
sys/i386/bios/apm.c
sys/i386/isa/if_ie.c
sys/i386/isa/if_wi.c
sys/kern/kern_module.c
sys/kern/kern_shutdown.c
sys/kern/subr_eventhandler.c [new file with mode: 0644]
sys/pci/if_al.c
sys/pci/if_de.c
sys/pci/if_en_pci.c
sys/pci/if_fpa.c
sys/pci/if_rl.c
sys/pci/if_tx.c
sys/pci/if_vx_pci.c
sys/sys/eventhandler.h [new file with mode: 0644]
sys/sys/systm.h