From cd1623f46d585a3fc60b96e02acf2033c6dfa1a1 Mon Sep 17 00:00:00 2001 From: YenHaoChen <39526191+YenHaoChen@users.noreply.github.com> Date: Fri, 16 Feb 2024 07:34:31 +0800 Subject: Add CSR fields of hvictl (#228) --- encoding.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/encoding.h b/encoding.h index c958745..0a0f103 100644 --- a/encoding.h +++ b/encoding.h @@ -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 -- cgit v1.1