diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2021-07-07 23:12:50 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2021-08-05 20:50:19 +0000 |
commit | 41a3f6bb9d81d26afa8d0166840b4ae01899fba5 (patch) | |
tree | 0faf4a1d0676525ef34b81b762f3d1517482d46b | |
parent | 7d51b5257a667476cc9e3471b5bc73b50d103e9b (diff) | |
download | src-41a3f6bb9d81d26afa8d0166840b4ae01899fba5.tar.gz src-41a3f6bb9d81d26afa8d0166840b4ae01899fba5.zip |
Fix the name of the arm64 SCTLR_E0E register
The character between the E's was the letter O, however in the Arm
Documentation and XML the character is the number 0 (zero).
Sponsored by: The FreeBSD Foundation
(cherry picked from commit c0edde3021900b80fec4e6360d97ba9d9e50d4fd)
-rw-r--r-- | sys/arm64/arm64/locore.S | 2 | ||||
-rw-r--r-- | sys/arm64/include/armreg.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm64/arm64/locore.S b/sys/arm64/arm64/locore.S index 48dd794116cd..50b064ab391a 100644 --- a/sys/arm64/arm64/locore.S +++ b/sys/arm64/arm64/locore.S @@ -748,7 +748,7 @@ sctlr_set: SCTLR_M | SCTLR_CP15BEN) sctlr_clear: /* Bits to clear */ - .quad (SCTLR_EE | SCTLR_EOE | SCTLR_IESB | SCTLR_WXN | SCTLR_UMA | \ + .quad (SCTLR_EE | SCTLR_E0E | SCTLR_IESB | SCTLR_WXN | SCTLR_UMA | \ SCTLR_ITD | SCTLR_A) LEND(start_mmu) diff --git a/sys/arm64/include/armreg.h b/sys/arm64/include/armreg.h index d22da16ffc42..ba9345c036f9 100644 --- a/sys/arm64/include/armreg.h +++ b/sys/arm64/include/armreg.h @@ -830,7 +830,7 @@ #define SCTLR_IESB 0x00200000 /* ARMv8.2 */ /* Bit 22 is reserved */ #define SCTLR_SPAN 0x00800000 /* ARMv8.1 */ -#define SCTLR_EOE 0x01000000 +#define SCTLR_E0E 0x01000000 #define SCTLR_EE 0x02000000 #define SCTLR_UCI 0x04000000 #define SCTLR_EnDA 0x08000000 /* ARMv8.3 */ |