diff options
author | Anup Patel <apatel@ventanamicro.com> | 2022-08-18 18:07:03 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-08-22 06:31:33 +0300 |
commit | adf44b51bae1b91dbb90c51fcecfbc23bb3062a5 (patch) | |
tree | 96b8ce54fec7f90e7ace17c1ee7e7f285c024222 /include | |
parent | 111afc12306e4368fa112f97d31ea802c4561294 (diff) | |
download | opensbi-adf44b51bae1b91dbb90c51fcecfbc23bb3062a5.tar.xz |
lib: sbi: Use the official extension name for AIA M-mode CSRs
The arch review of AIA spec is completed and we now have official
extension names for AIA: Smaia (M-mode AIA CSRs) and Ssaia (S-mode
AIA CSRs).
Refer, section 1.6 of the latest AIA v0.3.1 stable specification at
https://github.com/riscv/riscv-aia/releases/download/0.3.1-draft.32/riscv-interrupts-032.pdf)
Based on above, we update generic library to use "Smaia" extension
name for AIA M-mode CSRs.
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sbi/sbi_hart.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sbi/sbi_hart.h b/include/sbi/sbi_hart.h index 4661506..0032364 100644 --- a/include/sbi/sbi_hart.h +++ b/include/sbi/sbi_hart.h @@ -30,8 +30,8 @@ enum sbi_hart_extensions { SBI_HART_EXT_SSCOFPMF = 0, /** HART has HW time CSR (extension name not available) */ SBI_HART_EXT_TIME, - /** HART has AIA CSRs (extension name not available) */ - SBI_HART_EXT_AIA, + /** HART has AIA M-mode CSRs */ + SBI_HART_EXT_SMAIA, /** HART has Smstateen CSR **/ SBI_HART_EXT_SMSTATEEN, /** HART has Sstc extension */ |