build_set_exc_base(9)
π 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 inreg). yes, the generated code might flip the WG bit inreg, 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:
kvm_mips_entry_setup(9)kvm_mips_build_vcpu_run(9)kvm_mips_build_enter_guest(9)kvm_mips_build_tlb_refill_exception(9)kvm_mips_build_exception(9)kvm_mips_build_exit(9)kvm_mips_build_ret_from_exit(9)kvm_mips_build_ret_to_guest(9)kvm_mips_build_ret_to_host(9)
and that's the page, bestie π§π source/version is ./arch/mips/kvm, dated October 2026 β mwah, signing off πβ¨
π¦ 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