DEFINE_IDTE...AW_ERRORCODE(9)
πΈ 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
DECLARE_IDTENTRY(9)DEFINE_IDTENTRY(9)DECLARE_IDTENTRY_ERRORCODE(9)DEFINE_IDTENTRY_ERRORCODE(9)DECLARE_IDTENTRY_RAW(9)DEFINE_IDTENTRY_RAW(9)DEFINE_FREDENTRY_RAW(9)DECLARE_IDTENTRY_RAW_ERRORCODE(9)DECLARE_IDTENTRY_IRQ(9)DEFINE_IDTENTRY_IRQ(9)DECLARE_IDTENTRY_SYSVEC(9)DEFINE_IDTENTRY_SYSVEC(9)DEFINE_IDTENTRY_SYSVEC_SIMPLE(9)DECLARE_IDTENTRY_XENCB(9)DECLARE_IDTENTRY_IST(9)DECLARE_IDTENTRY_VC(9)DEFINE_IDTENTRY_IST(9)DEFINE_IDTENTRY_NOIST(9)DECLARE_IDTENTRY_DF(9)DEFINE_IDTENTRY_DF(9)DECLARE_IDTENTRY_DF(9)DEFINE_IDTENTRY_DF(9)
byeee bestie π«Άπ β source: ./arch/x86/include/asm, date: October 2026, manual: Kernel API Manual. Periodt. β¨
π¦ 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