riscv_isa_extension_base(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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: if isa_bitmap is NULL, 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