Changeset View
Changeset View
Standalone View
Standalone View
FreeBSD/sys/x86/x86/mca.c
Show First 20 Lines • Show All 794 Lines • ▼ Show 20 Lines | mca_createtq(void *dummy) | ||||
mca_tq = taskqueue_create_fast("mca", M_WAITOK, | mca_tq = taskqueue_create_fast("mca", M_WAITOK, | ||||
taskqueue_thread_enqueue, &mca_tq); | taskqueue_thread_enqueue, &mca_tq); | ||||
taskqueue_start_threads(&mca_tq, 1, PI_SWI(SWI_TQ), "mca taskq"); | taskqueue_start_threads(&mca_tq, 1, PI_SWI(SWI_TQ), "mca taskq"); | ||||
/* CMCIs during boot may have claimed items from the freelist. */ | /* CMCIs during boot may have claimed items from the freelist. */ | ||||
mca_fill_freelist(); | mca_fill_freelist(); | ||||
} | } | ||||
SYSINIT(mca_createtq, SI_SUB_CONFIGURE, SI_ORDER_ANY, mca_createtq, NULL); | SYSINIT(mca_createtq, SI_SUB_CONFIGURE, SI_ORDER_MIDDLE, mca_createtq, NULL); | ||||
static void | static void | ||||
mca_startup(void *dummy) | mca_startup(void *dummy) | ||||
{ | { | ||||
/* Handle any events that might have been logged during startup. */ | /* Handle any events that might have been logged during startup. */ | ||||
mca_postscan(NULL, 0); | mca_postscan(NULL, 0); | ||||
▲ Show 20 Lines • Show All 423 Lines • Show Last 20 Lines |