Skip to content

Commit

Permalink
Update trigger CSRs per Debug Spec v1.0: mscontext, scontext, hcontext (
Browse files Browse the repository at this point in the history
  • Loading branch information
JanMatCodasip authored Nov 2, 2021
1 parent ce0bd39 commit 6c34f60
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion parse_opcodes
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ csrs = [
(0x143, 'stval'),
(0x144, 'sip'),
(0x180, 'satp'),
(0x5A8, 'scontext'),

# Standard Hypervisor R/w
(0x200, 'vsstatus'),
Expand All @@ -166,6 +167,7 @@ csrs = [
(0x645, 'hvip'),
(0x64A, 'htinst'),
(0x680, 'hgatp'),
(0x6A8, 'hcontext'),
(0xE12, 'hgeip'),

# Tentative CSR assignment for CLIC
Expand Down Expand Up @@ -228,7 +230,7 @@ csrs = [
(0x7a4, 'tinfo'),
(0x7a5, 'tcontrol'),
(0x7a8, 'mcontext'),
(0x7aa, 'scontext'),
(0x7aa, 'mscontext'),
(0x7b0, 'dcsr'),
(0x7b1, 'dpc'),
(0x7b2, 'dscratch0'),
Expand Down

0 comments on commit 6c34f60

Please sign in to comment.