diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2016-02-05 18:15:50 -0800 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2016-02-05 18:15:50 -0800 |
commit | baed88131913ae48e3c84f7fdaa5549e5a698a07 (patch) | |
tree | 24a225897648d7dcf792178f2a2e6674a9fc45c3 /parse-opcodes | |
parent | cd97d2f441715dd31bb3fd079ab86dd957b5b4b0 (diff) | |
download | riscv-opcodes-baed88131913ae48e3c84f7fdaa5549e5a698a07.zip riscv-opcodes-baed88131913ae48e3c84f7fdaa5549e5a698a07.tar.gz riscv-opcodes-baed88131913ae48e3c84f7fdaa5549e5a698a07.tar.bz2 |
WIP on priv spec v1.9
Diffstat (limited to 'parse-opcodes')
-rwxr-xr-x | parse-opcodes | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/parse-opcodes b/parse-opcodes index ffc1f07..b34e282 100755 --- a/parse-opcodes +++ b/parse-opcodes @@ -84,6 +84,8 @@ csrs = [ (0x104, 'sie'), (0x140, 'sscratch'), (0x141, 'sepc'), + (0x142, 'scause'), + (0x143, 'sbadaddr'), (0x144, 'sip'), (0x180, 'sptbr'), (0x181, 'sasid'), @@ -95,8 +97,6 @@ csrs = [ # Standard Supervisor RO (0xD01, 'stime'), - (0xD42, 'scause'), - (0xD43, 'sbadaddr'), # Standard Hypervisor R/W Shadows of Supervisor RO (0xA01, 'stimew'), @@ -104,7 +104,8 @@ csrs = [ # Standard Machine R/W (0x300, 'mstatus'), (0x301, 'mtvec'), - (0x302, 'mtdeleg'), + (0x302, 'medeleg'), + (0x303, 'mideleg'), (0x304, 'mie'), (0x321, 'mtimecmp'), (0x340, 'mscratch'), @@ -648,8 +649,6 @@ def make_supervisor_latex_table(): print_insts('csrrwi', 'csrrsi', 'csrrci') print_subtitle('Instructions to Change Privilege Level') print_insts('ecall', 'ebreak', 'eret') - print_subtitle('Trap-Redirection Instructions') - print_insts('mrts', 'mrth', 'hrts') print_subtitle('Interrupt-Management Instructions') print_insts('wfi') print_subtitle('Memory-Management Instructions') |