aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/linux-headers/asm/processor-flags_x86.h
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2023-07-26 01:18:20 +0300
committerroot <root@qavm-2ed34686.qemu>2023-07-26 01:18:20 +0300
commitefba792089e8ed1cdee516e6fe39afa8ccd07570 (patch)
treefa8ff67117859064f23b758a7b333f8b2e3a0859 /contrib/libs/linux-headers/asm/processor-flags_x86.h
parent5c939e73d60a6ba835239eaad1edf65ec70c5f17 (diff)
downloadydb-efba792089e8ed1cdee516e6fe39afa8ccd07570.tar.gz
Update contrib/libs/linux-headers to 6.4.5
Diffstat (limited to 'contrib/libs/linux-headers/asm/processor-flags_x86.h')
-rw-r--r--contrib/libs/linux-headers/asm/processor-flags_x86.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/libs/linux-headers/asm/processor-flags_x86.h b/contrib/libs/linux-headers/asm/processor-flags_x86.h
index aa17036bd4..086e485023 100644
--- a/contrib/libs/linux-headers/asm/processor-flags_x86.h
+++ b/contrib/libs/linux-headers/asm/processor-flags_x86.h
@@ -82,6 +82,10 @@
#define X86_CR3_PCID_BITS 12
#define X86_CR3_PCID_MASK (_AC((1UL << X86_CR3_PCID_BITS) - 1, UL))
+#define X86_CR3_LAM_U57_BIT 61 /* Activate LAM for userspace, 62:57 bits masked */
+#define X86_CR3_LAM_U57 _BITULL(X86_CR3_LAM_U57_BIT)
+#define X86_CR3_LAM_U48_BIT 62 /* Activate LAM for userspace, 62:48 bits masked */
+#define X86_CR3_LAM_U48 _BITULL(X86_CR3_LAM_U48_BIT)
#define X86_CR3_PCID_NOFLUSH_BIT 63 /* Preserve old PCID */
#define X86_CR3_PCID_NOFLUSH _BITULL(X86_CR3_PCID_NOFLUSH_BIT)
@@ -130,6 +134,10 @@
#define X86_CR4_SMAP _BITUL(X86_CR4_SMAP_BIT)
#define X86_CR4_PKE_BIT 22 /* enable Protection Keys support */
#define X86_CR4_PKE _BITUL(X86_CR4_PKE_BIT)
+#define X86_CR4_CET_BIT 23 /* enable Control-flow Enforcement Technology */
+#define X86_CR4_CET _BITUL(X86_CR4_CET_BIT)
+#define X86_CR4_LAM_SUP_BIT 28 /* LAM for supervisor pointers */
+#define X86_CR4_LAM_SUP _BITUL(X86_CR4_LAM_SUP_BIT)
/*
* x86-64 Task Priority Register, CR8