target/riscv: Implement AIA mtopi, stopi, and vstopi CSRs
commitc7de92b4e829b0df4087371b23e41bbe8aec766d
authorAnup Patel <anup.patel@wdc.com>
Fri, 4 Feb 2022 17:46:49 +0000 (4 23:16 +0530)
committerAlistair Francis <alistair.francis@wdc.com>
Wed, 16 Feb 2022 02:24:19 +0000 (16 12:24 +1000)
treedfd758a1300f3c5aa640de2c74b6a46fd47e48d3
parentd0237b4df07e7b532b9b917639d6eb6b2c825c67
target/riscv: Implement AIA mtopi, stopi, and vstopi CSRs

The AIA specification introduces new [m|s|vs]topi CSRs for
reporting pending local IRQ number and associated IRQ priority.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Message-id: 20220204174700.534953-14-anup@brainfault.org
[ Changed by AF:
 - Fixup indentation
]
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
target/riscv/csr.c