DECLARE_IDTENTRY_RAW(9)
β¨ NAME β¨
DECLARE_IDTENTRY_RAW β bestie, this one declares functions for raw IDT entry points, and the whole ~vibe~ of "raw" here means no error code is pushed by hardware. periodt π
(this is a page from the Kernel API Manual, in case you were wondering where you wandered into π)
π¦ SYNOPSIS π¦
DECLARE_IDTENTRY_RAW (vector , func );
πΈ ARGUMENTS πΈ
vectorβ the vector number. lowkey important, but (ignored for C) β yeah, it just gets ghosted when you're writing C πfuncβ the function name of the entry point. that's your main character right there π
π DESCRIPTION π
okay so here's the tea: it maps to DECLARE_IDTENTRY. that's it, that's the whole description, and honestly? iconic minimalism β¨
π«Ά SEE ALSO π«Ά
first up, the kernel file you're gonna wanna peek at:
./arch/x86/include/asm/idtentry.h
and now, the entire friend group β every single one of them, no gatekeeping, no cap π
DECLARE_IDTENTRY(9)DEFINE_IDTENTRY(9)DECLARE_IDTENTRY_ERRORCODE(9)DEFINE_IDTENTRY_ERRORCODE(9)DEFINE_IDTENTRY_RAW(9)DEFINE_FREDENTRY_RAW(9)DECLARE_IDTENTRY_RAW_ERRORCODE(9)DEFINE_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)
bestie yes,DECLARE_IDTENTRY_DF(9)andDEFINE_IDTENTRY_DF(9)show up twice at the end. that's not me being chaotic, that's literally how the original lists them, so I'm keeping the whole thing exactly as-is. slay for consistency π
and that's the page! mwah π this beauty lives in ./arch/x86/include/asm, dated October 2026 β go off, kernel queens ππβ
π¦ 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