updates memeory map to match RISCV-VP commit b8b1c23
This commit is contained in:
@@ -5,11 +5,11 @@
|
||||
#include "riscv-traps.h"
|
||||
|
||||
#define PERIPH(TYPE, ADDR) ((volatile TYPE*)(ADDR))
|
||||
#define APB_BASE 0xF0000000
|
||||
#define uart PERIPH(uart_t, APB_BASE + 0x01000)
|
||||
#define aclint PERIPH(aclint_t, APB_BASE + 0x30000)
|
||||
#define ethmac0 PERIPH(ethmac_t, 0xF1000000)
|
||||
#define ethmac1 PERIPH(ethmac_t, 0xF1001000)
|
||||
#define PERIPH_BASE 0x10000000
|
||||
#define uart PERIPH(uart_t, PERIPH_BASE + 0x01000)
|
||||
#define aclint PERIPH(aclint_t, PERIPH_BASE + 0x30000)
|
||||
#define ethmac0 PERIPH(ethmac_t, PERIPH_BASE + 0x1000000)
|
||||
#define ethmac1 PERIPH(ethmac_t, PERIPH_BASE + 0x1001000)
|
||||
|
||||
#define UART0_IRQ 16
|
||||
#define TIMER0_IRQ0 17
|
||||
|
||||
Reference in New Issue
Block a user