Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2024 03:09:06 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 6f26bce4680e - stable/14 - x86 specialreg: add bit masks definitions for LAM in %cr3
Message-ID:  <202410300309.49U396Vg048820@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=6f26bce4680e3497b2a4cf3640cdaaa85fed5b3b

commit 6f26bce4680e3497b2a4cf3640cdaaa85fed5b3b
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-10-23 23:16:47 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-10-30 02:40:30 +0000

    x86 specialreg: add bit masks definitions for LAM in %cr3
    
    (cherry picked from commit 5999b74e963769cbd12eadbe1cebcd34fb312f01)
---
 sys/x86/include/specialreg.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h
index a8ff7aa2b30d..87461bdeafea 100644
--- a/sys/x86/include/specialreg.h
+++ b/sys/x86/include/specialreg.h
@@ -54,6 +54,8 @@
 #define	CR0_CD  0x40000000	/* Cache Disable */
 
 #define	CR3_PCID_MASK	0x0000000000000fff
+#define	CR3_LAM_U57	0x2000000000000000
+#define	CR3_LAM_U48	0x4000000000000000
 #define	CR3_PCID_SAVE	0x8000000000000000
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410300309.49U396Vg048820>