DEFINE_IDTE...AW_ERRORCODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

DEFINE_IDTENTRY_RAW_ERRORCODE β€” Emit code for raw IDT entry points

Okay bestie, welcome to the Kernel API Manual page for DEFINE_IDTENTRY_RAW_ERRORCODE(9). It’s giving low-level kernel realness, and we’re gonna get through it together. 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

DEFINE_IDTENTRY_RAW_ERRORCODE (func );

✨ ARGUMENTS ✨

  • func β€” the function name of the entry point. That’s the name, no cap. πŸ’…

πŸ’– DESCRIPTION πŸ’–

So func is called from ASM entry code with interrupts disabled. Yep, interrupts are already off when this runs β€” heads up, bestie πŸ”₯

The macro is written so it acts as a function definition. You append the body yourself with a pair of curly brackets. It’s literally a β€œdefinition starter pack” vibe. πŸŽ€

Contrary to DEFINE_IDTENTRY_ERRORCODE, this does not invoke the irqentry_enter/exit helpers before and after the body invocation. If those helpers are needed, you have to do that in the body itself if applicable. Reach for this one when extra work is required before the enter/exit helpers are invoked. Ngl, that’s the whole tea. πŸ“


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./arch/x86/include/asm/idtentry.h


byeee bestie πŸ«ΆπŸ’– β€” source: ./arch/x86/include/asm, date: October 2026, manual: Kernel API Manual. Periodt. ✨

πŸ“¦ where this page comes from