set_emergency_nmi_handler(9)
β¨ NAME β¨
hiii bestie π«Ά welcome to the set_emergency_nmi_handler(9) page from the Kernel API Manual β manual name folded in near the top like a little name tag π and yes, this function is literally Set emergency handler.
set_emergency_nmi_handlerβ Set emergency handler
πΈ SYNOPSIS πΈ
void set_emergency_nmi_handler (unsigned int type , nmi_handler_t
handler );
π¦ ARGUMENTS π¦
typeβ NMI type. that's the type of the NMI, bestie πhandlerβ the emergency handler to be stored. this is the handler that gets stashed β¨
π DESCRIPTION π
okay so here's the tea β: this sets an emergency NMI handler which, if set, will preempt all the other handlers in the linked list β main character energy fr fr π.
if a NULL handler is passed in, it will clear it π§Ό.
and the big warning, no cap: it is expected that concurrent calls to this function will not happen, or the system is screwed beyond repair π. like, that's not a vibe check you want to fail, bestie π.
π₯ SEE ALSO π₯
- Kernel file
./arch/x86/kernel/nmi.c
okay that's the whole page, bestie π«Άπ this iconic manual page came from the source/version ./arch/x86/kernel, dated October 2026, and it's the set_emergency_nmi_handler(9) page β slay and stay safe out there β¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms