FreeBSD kernel kern code
subr_autoconf.c File Reference
#include <sys/cdefs.h>
#include "opt_ddb.h"
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/linker.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/systm.h>
Include dependency graph for subr_autoconf.c:

Go to the source code of this file.

Macros

#define WARNING_INTERVAL_SECS   60
 

Functions

 __FBSDID ("$BSDSUniX$")
 
static TAILQ_HEAD (MTX_SYSINIT(intr_config_hook)
 
static void run_interrupt_driven_config_hooks ()
 
static void boot_run_interrupt_driven_config_hooks (void *dummy)
 
 SYSINIT (intr_config_hooks, SI_SUB_INT_CONFIG_HOOKS, SI_ORDER_FIRST, boot_run_interrupt_driven_config_hooks, NULL)
 
int config_intrhook_establish (struct intr_config_hook *hook)
 
void config_intrhook_disestablish (struct intr_config_hook *hook)
 

Macro Definition Documentation

#define WARNING_INTERVAL_SECS   60

Function Documentation

__FBSDID ( "$BSDSUniX$"  )
static void boot_run_interrupt_driven_config_hooks ( void *  dummy)
static

Definition at line 127 of file subr_autoconf.c.

References hz, run_interrupt_driven_config_hooks(), and WARNING_INTERVAL_SECS.

Here is the call graph for this function:

void config_intrhook_disestablish ( struct intr_config_hook *  hook)

Definition at line 187 of file subr_autoconf.c.

References panic(), and wakeup().

Here is the call graph for this function:

int config_intrhook_establish ( struct intr_config_hook *  hook)

Definition at line 158 of file subr_autoconf.c.

References printf(), and run_interrupt_driven_config_hooks().

Here is the call graph for this function:

static void run_interrupt_driven_config_hooks ( )
static

Definition at line 95 of file subr_autoconf.c.

Referenced by boot_run_interrupt_driven_config_hooks(), and config_intrhook_establish().

Here is the caller graph for this function:

SYSINIT ( intr_config_hooks  ,
SI_SUB_INT_CONFIG_HOOKS  ,
SI_ORDER_FIRST  ,
boot_run_interrupt_driven_config_hooks  ,
NULL   
)
static TAILQ_HEAD ( MTX_SYSINIT intr_config_hook)
static

Definition at line 56 of file subr_autoconf.c.

References linker_search_symbol_name(), printf(), and WARNING_INTERVAL_SECS.

Here is the call graph for this function: