lib: sbi: Detect AIA CSRs at boot-time
authorAnup Patel <apatel@ventanamicro.com>
Tue, 6 Apr 2021 07:36:47 +0000 (13:06 +0530)
committerAnup Patel <anup@brainfault.org>
Tue, 15 Feb 2022 15:02:42 +0000 (20:32 +0530)
commit8f9607006789512ceae703e82e62566873a83aaa
tree9a8f507f7849662b226c4421d07777e0995c30d0
parent01250d00447d3838e31c1fc67ce3acb1dd6b2682
lib: sbi: Detect AIA CSRs at boot-time

We extend HART feature detection to discover AIA CSRs at boot-time.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
include/sbi/sbi_hart.h
lib/sbi/sbi_hart.c