Skip to content

Commit

Permalink
arm64: Adjust the indentation of CPTR_EL2 values
Browse files Browse the repository at this point in the history
Reviewed by:	emaste
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D46513
  • Loading branch information
zxombie committed Sep 11, 2024
1 parent d99e6b2 commit 7a488d8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sys/arm64/include/hypervisor.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@

/* CPTR_EL2 - Architecture feature trap register */
/* Valid if HCR_EL2.E2H == 0 */
#define CPTR_RES0 0x7fefc800
#define CPTR_RES1 0x000033ff
#define CPTR_TFP 0x00000400
#define CPTR_RES0 0x7fefc800
#define CPTR_RES1 0x000033ff
#define CPTR_TFP 0x00000400
/* Valid if HCR_EL2.E2H == 1 */
#define CPTR_FPEN 0x00300000
#define CPTR_FPEN 0x00300000
/* Unconditionally valid */
#define CPTR_TTA 0x00100000
#define CPTR_TCPAC 0x80000000
#define CPTR_TTA 0x00100000
#define CPTR_TCPAC 0x80000000

/* HCR_EL2 - Hypervisor Config Register */
#define HCR_VM (UL(0x1) << 0)
Expand Down

0 comments on commit 7a488d8

Please sign in to comment.