Skip to content

Commit

Permalink
Remove erroneous MSTATEEN0[H]_HENVCFGH macros (#230)
Browse files Browse the repository at this point in the history
MSTATEEN0[H]_HENVCFG should be used instead.

Resolves #229
  • Loading branch information
aswaterman authored Feb 19, 2024
1 parent cd1623f commit 31a4c2a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions encoding.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,11 @@
#define MSTATEEN0_FCSR 0x00000002
#define MSTATEEN0_JVT 0x00000004
#define MSTATEEN0_PRIV114 0x0080000000000000
#define MSTATEEN0_HENVCFGH 0x0100000000000000
#define MSTATEEN0_HCONTEXT 0x0200000000000000
#define MSTATEEN0_HENVCFG 0x4000000000000000
#define MSTATEEN_HSTATEEN 0x8000000000000000

#define MSTATEEN0H_PRIV114 0x00800000
#define MSTATEEN0H_HENVCFGH 0x01000000
#define MSTATEEN0H_HCONTEXT 0x02000000
#define MSTATEEN0H_HENVCFG 0x40000000
#define MSTATEENH_HSTATEEN 0x80000000
Expand Down

0 comments on commit 31a4c2a

Please sign in to comment.