Skip to content

Commit

Permalink
Fix typo in CTR bitfield definition (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
ved-rivos authored Jun 4, 2024
1 parent ea2fec1 commit 5ce8977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions encoding.h
Original file line number Diff line number Diff line change
Expand Up @@ -240,14 +240,14 @@
#define HSTATEEN0_CS 0x00000001
#define HSTATEEN0_FCSR 0x00000002
#define HSTATEEN0_JVT 0x00000004
#define MSTATEEN0_CTR 0x0040000000000000
#define HSTATEEN0_CTR 0x0040000000000000
#define HSTATEEN0_SCONTEXT 0x0200000000000000
#define HSTATEEN0_AIA 0x0800000000000000
#define HSTATEEN0_CSRIND 0x1000000000000000
#define HSTATEEN0_SENVCFG 0x4000000000000000
#define HSTATEEN_SSTATEEN 0x8000000000000000

#define MSTATEEN0H_CTR 0x00400000
#define HSTATEEN0H_CTR 0x00400000
#define HSTATEEN0H_SCONTEXT 0x02000000
#define HSTATEEN0H_AIA 0x08000000
#define HSTATEEN0H_CSRIND 0x10000000
Expand Down

0 comments on commit 5ce8977

Please sign in to comment.