Skip to content

Commit

Permalink
add hupmm field in hstatus CSR
Browse files Browse the repository at this point in the history
  • Loading branch information
viktor.you authored and victor.you committed Jan 17, 2025
1 parent 1a92b69 commit 033a53c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/hypervisor.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ to VS-level memory management data structures, such as page tables. An
implementation may make VSBE a read-only field that always specifies the
same endianness as HS-mode.

The definition of the HUPMM field is furnished by the Ssnpm extension.

==== Hypervisor Trap Delegation (`hedeleg` and `hideleg`) Registers

Register `hedeleg` is a 64-bit read/write register, formatted as shown in
Expand Down
10 changes: 8 additions & 2 deletions src/images/bytefield/hstatusreg.edn
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@

(draw-box nil {:span 3 :borders {}})
(draw-box "63" {:span 8 :borders {} :text-anchor "start"})
(draw-box "34" {:borders {}})
(draw-box "50" {:span 2 :borders {} :text-anchor "end"})
(draw-box "49" {:span 2 :borders {} :text-anchor "start"})
(draw-box "48" {:span 2 :borders {} :text-anchor "end"})
(draw-box "47" {:span 8 :borders {} :text-anchor "start"})
(draw-box "34" {:span 2 :borders {} :text-anchor "end"})
(draw-box "33" {:span 2 :borders {} :text-anchor "start"})
(draw-box "32" {:span 2 :borders {} :text-anchor "end"})
(draw-box "31" {:span 3 :borders {} :text-anchor "start"})
Expand All @@ -21,7 +25,9 @@
(draw-box nil {:span 3 :borders {}})

(draw-box nil {:span 3 :borders {}})
(draw-box (text "WPRI" {:font-weight "bold" :font-size 24}) {:span 9})
(draw-box (text "WPRI" {:font-weight "bold" :font-size 24}) {:span 8})
(draw-box "HUPMM" {:span 2})
(draw-box (text "WPRI" {:font-weight "bold" :font-size 24}) {:span 8})
(draw-box "VSXL[1:0]" {:span 4})
(draw-box (text "WPRI" {:font-weight "bold" :font-size 24}) {:span 6})
(draw-box "VTSR" {:span 2})
Expand Down

0 comments on commit 033a53c

Please sign in to comment.