diff options
Diffstat (limited to 'cpu/or1kcommon.cpu')
-rw-r--r-- | cpu/or1kcommon.cpu | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/or1kcommon.cpu b/cpu/or1kcommon.cpu index 9f102c9..7f91954 100644 --- a/cpu/or1kcommon.cpu +++ b/cpu/or1kcommon.cpu @@ -243,6 +243,8 @@ (.unsplice (.map (.pmacro (n) (.splice SYS (.sym "ESR" n) (.add n #x40) (.str "Exception supervision register " n))) (.iota #x10))) + (SYS COREID #x080 "Core identifier register") + (SYS NUMCORES #x081 "Number of cores register") (.unsplice (.map (.pmacro (n) (.splice SYS (.sym "GPR" n) (.add n #x400) (.str "General purpose register " n))) (.iota #x200))) |