mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 17:53:37 +08:00
<sys/platform/x86.h>: Add WRMSRNS support
Add WRMSRNS support to <sys/platform/x86.h>. Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
This commit is contained in:
parent
a00db8305d
commit
227983551d
@ -679,6 +679,9 @@ using a TSC deadline value.
|
|||||||
@item
|
@item
|
||||||
@code{WIDE_KL} -- AES wide Key Locker instructions.
|
@code{WIDE_KL} -- AES wide Key Locker instructions.
|
||||||
|
|
||||||
|
@item
|
||||||
|
@code{WRMSRNS} -- WRMSRNS instruction.
|
||||||
|
|
||||||
@item
|
@item
|
||||||
@code{X2APIC} -- x2APIC.
|
@code{X2APIC} -- x2APIC.
|
||||||
|
|
||||||
|
@ -297,6 +297,7 @@ enum
|
|||||||
x86_cpu_FZLRM = x86_cpu_index_7_ecx_1_eax + 10,
|
x86_cpu_FZLRM = x86_cpu_index_7_ecx_1_eax + 10,
|
||||||
x86_cpu_FSRS = x86_cpu_index_7_ecx_1_eax + 11,
|
x86_cpu_FSRS = x86_cpu_index_7_ecx_1_eax + 11,
|
||||||
x86_cpu_FSRCS = x86_cpu_index_7_ecx_1_eax + 12,
|
x86_cpu_FSRCS = x86_cpu_index_7_ecx_1_eax + 12,
|
||||||
|
x86_cpu_WRMSRNS = x86_cpu_index_7_ecx_1_eax + 19,
|
||||||
x86_cpu_HRESET = x86_cpu_index_7_ecx_1_eax + 22,
|
x86_cpu_HRESET = x86_cpu_index_7_ecx_1_eax + 22,
|
||||||
x86_cpu_LAM = x86_cpu_index_7_ecx_1_eax + 26,
|
x86_cpu_LAM = x86_cpu_index_7_ecx_1_eax + 26,
|
||||||
|
|
||||||
|
@ -209,6 +209,7 @@ do_test (void)
|
|||||||
CHECK_CPU_FEATURE_PRESENT (FZLRM);
|
CHECK_CPU_FEATURE_PRESENT (FZLRM);
|
||||||
CHECK_CPU_FEATURE_PRESENT (FSRS);
|
CHECK_CPU_FEATURE_PRESENT (FSRS);
|
||||||
CHECK_CPU_FEATURE_PRESENT (FSRCS);
|
CHECK_CPU_FEATURE_PRESENT (FSRCS);
|
||||||
|
CHECK_CPU_FEATURE_PRESENT (WRMSRNS);
|
||||||
CHECK_CPU_FEATURE_PRESENT (HRESET);
|
CHECK_CPU_FEATURE_PRESENT (HRESET);
|
||||||
CHECK_CPU_FEATURE_PRESENT (LAM);
|
CHECK_CPU_FEATURE_PRESENT (LAM);
|
||||||
CHECK_CPU_FEATURE_PRESENT (AESKLE);
|
CHECK_CPU_FEATURE_PRESENT (AESKLE);
|
||||||
|
Loading…
Reference in New Issue
Block a user