add hedelegh and mstateen0_priv113 (#333)

This commit is contained in:
Jonathan 2025-01-30 00:46:37 +01:00 committed by GitHub
parent 3c73392134
commit 9f70bcd37d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@
0x214, "vsieh"
0x254, "vsiph"
0x25D, "vstimecmph"
0x612, "hedelegh"
0x615, "htimedeltah"
0x613, "hidelegh"
0x618, "hvienh"

1 0x114 sieh
4 0x214 vsieh
5 0x254 vsiph
6 0x25D vstimecmph
7 0x612 hedelegh
8 0x615 htimedeltah
9 0x613 hidelegh
10 0x618 hvienh

View File

@ -186,6 +186,7 @@
#define MSTATEEN0_FCSR 0x00000002
#define MSTATEEN0_JVT 0x00000004
#define MSTATEEN0_CTR 0x0040000000000000
#define MSTATEEN0_PRIV113 0x0100000000000000
#define MSTATEEN0_PRIV114 0x0080000000000000
#define MSTATEEN0_HCONTEXT 0x0200000000000000
#define MSTATEEN0_AIA 0x0800000000000000
@ -194,6 +195,7 @@
#define MSTATEEN_HSTATEEN 0x8000000000000000
#define MSTATEEN0H_CTR 0x00400000
#define MSTATEEN0H_PRIV113 0x01000000
#define MSTATEEN0H_PRIV114 0x00800000
#define MSTATEEN0H_HCONTEXT 0x02000000
#define MSTATEEN0H_AIA 0x08000000