Skip to content

Commit

Permalink
Morello: Add constant for CEN field in CPTR_EL2 when VHE is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
bsdjhb committed Nov 22, 2024
1 parent 461a2fb commit 424a25a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sys/arm64/include/hypervisor.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@
/* Valid if HCR_EL2.E2H == 1 */
#define CPTR_E2H_TRAP_ALL 0xd0000000
#define CPTR_E2H_ZPEN 0x00030000
#if __has_feature(capabilities)
#define CPTR_E2H_CEN 0x000c0000
#endif
#define CPTR_E2H_FPEN 0x00300000
#define CPTR_E2H_TTA 0x10000000
/* Unconditionally valid */
Expand Down

0 comments on commit 424a25a

Please sign in to comment.