Changeset View
Changeset View
Standalone View
Standalone View
head/sys/amd64/amd64/trap.c
Show First 20 Lines • Show All 214 Lines • ▼ Show 20 Lines | |||||
#endif | #endif | ||||
#ifdef STACK | #ifdef STACK | ||||
if (stack_nmi_handler(frame) != 0) | if (stack_nmi_handler(frame) != 0) | ||||
return; | return; | ||||
#endif | #endif | ||||
} | } | ||||
if (type == T_MCHK) { | |||||
mca_intr(); | |||||
return; | |||||
} | |||||
if ((frame->tf_rflags & PSL_I) == 0) { | if ((frame->tf_rflags & PSL_I) == 0) { | ||||
/* | /* | ||||
* Buggy application or kernel code has disabled | * Buggy application or kernel code has disabled | ||||
* interrupts and then trapped. Enabling interrupts | * interrupts and then trapped. Enabling interrupts | ||||
* now is wrong, but it is better than running with | * now is wrong, but it is better than running with | ||||
* interrupts disabled until they are accidentally | * interrupts disabled until they are accidentally | ||||
* enabled later. | * enabled later. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 731 Lines • Show Last 20 Lines |