__riscv_isa_...on_available(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

__riscv_isa_vendor_extension_available β€” bestie, this is literally the function that checks whether a given vendor extension is available or not. That's it, that's the whole job ✨


πŸŽ€ SYNOPSIS πŸŽ€

bool __riscv_isa_vendor_extension_available (int cpu , unsigned long
vendor , unsigned int bit );

🌸 ARGUMENTS 🌸

  • cpu β€” the CPU you want to check, like, "is this extension available on this cpu?" πŸ‘€
  • vendor β€” the vendor that the extension is a member of 🏷️
  • bit β€” the bit position of the desired extension, yes the actual bit, no cap πŸ”’

⭐ RETURN ⭐

true or false β€” that's it. She's a bool, she's honest, she's giving binary icon energy πŸ’€πŸ«Ά


πŸ¦‹ NOTE πŸ¦‹

When cpu is -1, this bad girl will check if the extension is available on all cpus. Every single one. Periodt πŸ‘‘

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./arch/riscv/kernel/vendor_extensions.c β€” go read it, iykyk πŸ“–πŸ’œ

🌈 ok that's the whole page, you ate that πŸ’…βœ¨ β€” this lil drop came to you straight from ./arch/riscv/kernel, dated October 2026, Kernel API Manual vibes only πŸŽ€πŸ¦‹πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from