File tree Expand file tree Collapse file tree 10 files changed +0
-33
lines changed
soc/riscv/riscv-privilege Expand file tree Collapse file tree 10 files changed +0
-33
lines changed Original file line number Diff line number Diff line change 1313
1414#include <soc_common.h>
1515
16- /* Machine timer memory-mapped registers */
17- #define RISCV_MTIME_BASE 0xE6000000
18- #define RISCV_MTIMECMP_BASE 0xE6000008
19-
2016/* Include CSRs available for Andes V5 SoCs */
2117#include "soc_v5.h"
2218
Original file line number Diff line number Diff line change 1414
1515/* IRQ numbers */
1616#define RISCV_MACHINE_SOFT_IRQ 3 /* Machine Software Interrupt */
17- #define RISCV_MACHINE_TIMER_IRQ 7 /* Machine Timer Interrupt */
1817#define RISCV_MACHINE_EXT_IRQ 11 /* Machine External Interrupt */
1918
2019/* ECALL Exception numbers */
Original file line number Diff line number Diff line change 1212#define RISCV_GD32VF103_SOC_H_
1313
1414#include <soc_common.h>
15- #include <zephyr/devicetree.h>
16-
17- /* Timer configuration */
18- #define RISCV_MTIME_BASE DT_REG_ADDR(DT_NODELABEL(systimer))
19- #define RISCV_MTIMECMP_BASE (RISCV_MTIME_BASE + 8)
2015
2116#endif /* RISCV_GD32VF103_SOC_H */
Original file line number Diff line number Diff line change 99/* UART Configuration */
1010#define MIV_UART_0_LINECFG 0x1
1111
12- /* Timer configuration */
13- #define RISCV_MTIME_BASE 0x4400bff8
14- #define RISCV_MTIMECMP_BASE 0x44004000
15-
1612#endif /* __RISCV32_MIV_SOC_H_ */
Original file line number Diff line number Diff line change 1111
1212
1313/* Timer configuration */
14- #define RISCV_MTIME_BASE 0x0200BFF8ULL
15- #define RISCV_MTIMECMP_BASE (0x02004000ULL + (8ULL * 0))
1614#define RISCV_MTIMECMP_BY_HART (h ) (0x02004000ULL + (8ULL * (h)))
1715#define RISCV_MSIP_BASE 0x02000000
1816
Original file line number Diff line number Diff line change 99
1010#include <soc_common.h>
1111
12- /* Machine System Timer (MTIME) registers */
13- #define RISCV_MTIME_BASE 0xffffff90U
14- #define RISCV_MTIMECMP_BASE 0xffffff98U
15-
1612/* System information (SYSINFO) register offsets */
1713#define NEORV32_SYSINFO_CLK 0x00U
1814#define NEORV32_SYSINFO_CPU 0x04U
Original file line number Diff line number Diff line change 5050
5151#endif
5252
53- /* Timer configuration */
54- #define RISCV_MTIME_BASE 0x0200BFF8
55- #define RISCV_MTIMECMP_BASE 0x02004000
56-
5753#endif /* __RISCV_SIFIVE_FREEDOM_SOC_H_ */
Original file line number Diff line number Diff line change 99
1010#include <soc_common.h>
1111
12- #define RISCV_MTIME_BASE 0x0200BFF8
13- #define RISCV_MTIMECMP_BASE 0x02004000
14-
1512#endif
Original file line number Diff line number Diff line change 99
1010#include <soc_common.h>
1111
12- /* Machine timer memory-mapped registers */
13- #define RISCV_MTIME_BASE 0xE6000000
14- #define RISCV_MTIMECMP_BASE 0xE6000008
15-
1612#endif /* RISCV_TELINK_B91_SOC_H */
Original file line number Diff line number Diff line change 1010#include <soc_common.h>
1111
1212#define SIFIVE_SYSCON_TEST 0x00100000
13- #define RISCV_MTIME_BASE 0x0200BFF8
14- #define RISCV_MTIMECMP_BASE 0x02004000
1513#define RISCV_MSIP_BASE 0x02000000
1614
1715#endif
You can’t perform that action at this time.
0 commit comments