set_emergency_nmi_handler(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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