Skip to content

Commit

Permalink
Add CSR fields of hvictl (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
YenHaoChen authored Feb 15, 2024
1 parent 4ad822d commit cd1623f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions encoding.h
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,12 @@
#define JVT_MODE 0x3F
#define JVT_BASE (~0x3F)

#define HVICTL_VTI 0x40000000
#define HVICTL_IID 0x003F0000
#define HVICTL_DPR 0x00000200
#define HVICTL_IPRIOM 0x00000100
#define HVICTL_IPRIO 0x000000FF

#define PRV_U 0
#define PRV_S 1
#define PRV_M 3
Expand Down

0 comments on commit cd1623f

Please sign in to comment.