cpu/rocket: access PLIC registers via pointer dereference
authorGabriel Somlo <gsomlo@gmail.com>
Sat, 21 Dec 2019 17:59:19 +0000 (12:59 -0500)
committerGabriel Somlo <gsomlo@gmail.com>
Sat, 21 Dec 2019 17:59:19 +0000 (12:59 -0500)
commitb6818c205e2de4d810909eeb20b926af686074ba
treee0d38285fdf1cebe99494787341fa9c916affe51
parent0e46913d52451595523dd5289ddf6236b8b6495b
cpu/rocket: access PLIC registers via pointer dereference

Since the PLIC is internal to Rocket, access its registers
directly via pointer dereference, rather than through the
LiteX CSR Bus accessors (which assume subregister slicing,
and are therefore inappropriate for registers NOT accessed
over the LiteX CSR Bus).

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
litex/soc/software/bios/isr.c
litex/soc/software/include/base/irq.h