__riscv_isa_...on_available(9)
π 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 π¦
Whencpuis-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
- 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