riscv_isa_extension_base(9)
π riscv_isa_extension_base(9) π
okay so bestie, welcome to the Kernel API Manual β this is riscv_isa_extension_base, and she is literally the moment you need to grab the base extension word. that's the whole vibe. let's get into it π
β¨ NAME β¨
riscv_isa_extension_base β get base extension word. that's it, that's the function, no cap π«Ά
πΈ SYNOPSIS πΈ
unsigned long riscv_isa_extension_base (const unsigned long *isa_bitmap
);
like yes she takes one pointer and hands you back an unsigned long. iconic behavior honestly π
π¦ ARGUMENTS π¦
isa_bitmapβ the ISA bitmap you want to use. that's the input, that's the tea. π
π₯ RETURN π₯
she gives you the base extension word back, as an unsigned long value. periodt. π
π NOTE π
ngl this part matters: ifisa_bitmapisNULL, then the Host ISA bitmap will be used instead. so like, no bitmap? no problem, she'll just pull the host one. don't forget it fr fr π
π SEE ALSO π
- kernel file
./arch/riscv/kernel/cpufeature.cβ go read her, she's right there π __riscv_isa_extension_available(9)β the friend in the group chat you should also check out π
okay that's the page!! tysm for reading bestie, go forth and check those extensions πΈπ¦
mwah π β this lil number lives in ./arch/riscv/kernel, dated October 2026, and yes she's serving the full Kernel API Manual realness. see u in the next one, ily π«Άβ¨
π¦ 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