git: c1aa50bf31c9 - main - specialreg: Fix typos
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 11 Apr 2024 17:34:50 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=c1aa50bf31c975d264d3eb5206cab950b50593ea
commit c1aa50bf31c975d264d3eb5206cab950b50593ea
Author: Elyes Haouas <ehaouas@noos.fr>
AuthorDate: 2024-04-11 17:27:29 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-04-11 17:28:35 +0000
specialreg: Fix typos
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/885
---
sys/x86/include/specialreg.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h
index 37bf56d31922..3ea8c988aa07 100644
--- a/sys/x86/include/specialreg.h
+++ b/sys/x86/include/specialreg.h
@@ -918,7 +918,7 @@
#define CCR4 0xe8
#define CCR4_IOMASK 0x07
-#define CCR4_MEM 0x08 /* Enables momory bypassing */
+#define CCR4_MEM 0x08 /* Enables memory bypassing */
#define CCR4_DTE 0x10 /* Enables directory table entry cache */
#define CCR4_FASTFPE 0x20 /* Fast FPU exception */
#define CCR4_CPUID 0x80 /* Enables CPUID instruction */
@@ -938,7 +938,7 @@
#define PCR0_RSTK 0x01 /* Enables return stack */
#define PCR0_BTB 0x02 /* Enables branch target buffer */
#define PCR0_LOOP 0x04 /* Enables loop */
-#define PCR0_AIS 0x08 /* Enables all instrcutions stalled to
+#define PCR0_AIS 0x08 /* Enables all instructions stalled to
serialize pipe. */
#define PCR0_MLR 0x10 /* Enables reordering of misaligned loads */
#define PCR0_BTBRT 0x40 /* Enables BTB test register. */
@@ -1092,7 +1092,7 @@
/*
* The region control registers specify the attributes associated with
- * the ARRx addres regions.
+ * the ARRx address regions.
*/
#define RCR0 0xdc
#define RCR1 0xdd