build_set_exc_base(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… build_set_exc_base(9) β€” the Kernel API Manual glow-up ✨

okay bestie, welcome to the build_set_exc_base(9) page from the Kernel API Manual β€” it's giving lowkey iconic kernel-internals energy, and we're gonna get you through it 🫢


🌸 NAME 🌸

build_set_exc_base β€” assemble code to write exception base address, periodt.


✨ SYNOPSIS ✨

void build_set_exc_base (u32 **p , unsigned int reg );

πŸŽ€ ARGUMENTS πŸŽ€

  • p β€” code buffer pointer. literally the spot where the code goes πŸ’–
  • reg β€” source register (generated code may set WG bit in reg). yes, the generated code might flip the WG bit in reg, no cap πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

Assemble code to modify the exception base address in the EBase register, using the appropriately sized access and setting the WG bit if necessary. that's the whole vibe: right-sized access, WG bit handled when needed, slay πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./arch/mips/kvm/entry.c β€” plus these besties:


and that's the page, bestie πŸ§šπŸ’œ source/version is ./arch/mips/kvm, dated October 2026 β€” mwah, signing off πŸŽ€βœ¨

πŸ“¦ where this page comes from