diff options
author | Jiri Gaisler <jiri@gaisler.se> | 2020-12-05 17:49:25 +0100 |
---|---|---|
committer | Jiri Gaisler <jiri@gaisler.se> | 2020-12-15 15:28:09 +0100 |
commit | 36b4b0a9b95a351fc99ca3224503dab9e29af865 (patch) | |
tree | 2364018e2cc1e3118672e841b84bc545caf316a8 /grlib.h | |
parent | Added emulation of GR740 SOC (diff) | |
download | sis-36b4b0a9b95a351fc99ca3224503dab9e29af865.tar.bz2 |
Added support for RISCV32 systems with CLINT/PLIC
Diffstat (limited to 'grlib.h')
-rw-r--r-- | grlib.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -26,6 +26,7 @@ #define VENDOR_GAISLER 1 #define VENDOR_PENDER 2 #define VENDOR_ESA 4 +#define VENDOR_CONTRIB 9 #define VENDOR_DLR 10 /* Devices */ @@ -33,11 +34,16 @@ #define GAISLER_LEON3 0x003 #define GAISLER_APBMST 0x006 #define GAISLER_SRCTRL 0x008 +#define GAISLER_SDCTRL 0x009 #define GAISLER_APBUART 0x00C #define GAISLER_IRQMP 0x00D #define GAISLER_GPTIMER 0x011 #define GAISLER_GRETH 0x01D #define ESA_MCTRL 0x00F +#define CONTRIB_NS16550 0x050 +#define CONTRIB_CLINT 0x051 +#define CONTRIB_PLIC 0x052 +#define CONTRIB_S5TEST 0x053 /* How to build entries in the plug&play area */ @@ -98,4 +104,4 @@ extern void apbuart_restore_stdio (void); extern void apbuart_close_port (void); extern void apbuart_flush (void); extern const struct grlib_ipcore gptimer, irqmp, apbuart, apbmst, - greth, leon3s, srctrl; + greth, leon3s, srctrl, ns16550, clint, plic, sdctrl, s5test; |