git: cc4b25f10211 - main - x86 specialreg: reorder %cr3 bits masks definitions by value
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Oct 2024 02:41:43 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=cc4b25f10211fdd5a347a5a9fc26b2c86476db7f
commit cc4b25f10211fdd5a347a5a9fc26b2c86476db7f
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-10-23 23:13:45 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-10-24 02:41:10 +0000
x86 specialreg: reorder %cr3 bits masks definitions by value
and align them visually.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
---
sys/x86/include/specialreg.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h
index 93690b94d2c3..cddda2df617d 100644
--- a/sys/x86/include/specialreg.h
+++ b/sys/x86/include/specialreg.h
@@ -51,8 +51,8 @@
#define CR0_NW 0x20000000 /* Not Write-through */
#define CR0_CD 0x40000000 /* Cache Disable */
-#define CR3_PCID_SAVE 0x8000000000000000
-#define CR3_PCID_MASK 0xfff
+#define CR3_PCID_MASK 0x0000000000000fff
+#define CR3_PCID_SAVE 0x8000000000000000
/*
* Bits in PPro special registers