mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-24 23:41:23 +01:00

Instead of hard-coding the list of extensions in C code, use carray to generate the list of extensions. Using carray makes adding and removing extensions slightly cleaner. This also paves the way for using Kconfig to disable unneeded extensions. Signed-off-by: Vivian Wang <dramforever@live.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: Anup Patel <anup@brainfault.org>
4 lines
78 B
Plaintext
4 lines
78 B
Plaintext
HEADER: sbi/sbi_ecall.h
|
|
TYPE: struct sbi_ecall_extension
|
|
NAME: sbi_ecall_exts
|