You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,14 +22,17 @@ The main CPU code is generated from `src/main.mlog.jinja` using a custom Jinja-b
22
22
|`0x80000000`| RAM |
23
23
|`0xf0000000`| MMIO |
24
24
25
-
Addresses `0xf0000000` - `0xffffffff` are reserved for MMIO.
26
-
27
-
| Address | Value |
28
-
| ------------ | ----------- |
29
-
|`0xf0000000`|`mtime`|
30
-
|`0xf0000004`|`mtimeh`|
31
-
|`0xf0000008`|`mtimecmp`|
32
-
|`0xf000000c`|`mtimecmph`|
25
+
Addresses `0xf0000000` - `0xffffffff` are reserved for MMIO and other system purposes.
26
+
27
+
| Address | Value |
28
+
| ------------ | --------------------- |
29
+
|`0xf0000000`|`mtime`|
30
+
|`0xf0000004`|`mtimeh`|
31
+
|`0xf0000008`|`mtimecmp`|
32
+
|`0xf000000c`|`mtimecmph`|
33
+
|`0xfffffffc`|`mtvec` default value |
34
+
35
+
The machine trap vector CSR `mtvec` is initialized to `0xfffffffc` at reset. To help catch issues with uninitialized `mtvec`, the processor will halt if code jumps to this address.
0 commit comments