Deleted Added
full compact
specialreg.h (345261) specialreg.h (347568)
1/*-
2 * Copyright (c) 1991 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * from: @(#)specialreg.h 7.1 (Berkeley) 5/9/91
1/*-
2 * Copyright (c) 1991 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * from: @(#)specialreg.h 7.1 (Berkeley) 5/9/91
30 * $FreeBSD: stable/11/sys/x86/include/specialreg.h 345261 2019-03-18 10:28:40Z kib $
30 * $FreeBSD: stable/11/sys/x86/include/specialreg.h 347568 2019-05-14 17:05:02Z kib $
31 */
32
33#ifndef _MACHINE_SPECIALREG_H_
34#define _MACHINE_SPECIALREG_H_
35
36/*
37 * Bits in 386 special registers:
38 */

--- 346 unchanged lines hidden (view full) ---

385#define CPUID_STDEXT2_CLDEMOTE 0x02000000
386#define CPUID_STDEXT2_MOVDIRI 0x08000000
387#define CPUID_STDEXT2_MOVDIRI64B 0x10000000
388#define CPUID_STDEXT2_SGXLC 0x40000000
389
390/*
391 * CPUID instruction 7 Structured Extended Features, leaf 0 edx info
392 */
31 */
32
33#ifndef _MACHINE_SPECIALREG_H_
34#define _MACHINE_SPECIALREG_H_
35
36/*
37 * Bits in 386 special registers:
38 */

--- 346 unchanged lines hidden (view full) ---

385#define CPUID_STDEXT2_CLDEMOTE 0x02000000
386#define CPUID_STDEXT2_MOVDIRI 0x08000000
387#define CPUID_STDEXT2_MOVDIRI64B 0x10000000
388#define CPUID_STDEXT2_SGXLC 0x40000000
389
390/*
391 * CPUID instruction 7 Structured Extended Features, leaf 0 edx info
392 */
393#define CPUID_STDEXT3_MD_CLEAR 0x00000400
393#define CPUID_STDEXT3_TSXFA 0x00002000
394#define CPUID_STDEXT3_IBPB 0x04000000
395#define CPUID_STDEXT3_STIBP 0x08000000
396#define CPUID_STDEXT3_L1D_FLUSH 0x10000000
397#define CPUID_STDEXT3_ARCH_CAP 0x20000000
398#define CPUID_STDEXT3_CORE_CAP 0x40000000
399#define CPUID_STDEXT3_SSBD 0x80000000
400
401/* MSR IA32_ARCH_CAP(ABILITIES) bits */
402#define IA32_ARCH_CAP_RDCL_NO 0x00000001
403#define IA32_ARCH_CAP_IBRS_ALL 0x00000002
404#define IA32_ARCH_CAP_RSBA 0x00000004
405#define IA32_ARCH_CAP_SKIP_L1DFL_VMENTRY 0x00000008
406#define IA32_ARCH_CAP_SSB_NO 0x00000010
394#define CPUID_STDEXT3_TSXFA 0x00002000
395#define CPUID_STDEXT3_IBPB 0x04000000
396#define CPUID_STDEXT3_STIBP 0x08000000
397#define CPUID_STDEXT3_L1D_FLUSH 0x10000000
398#define CPUID_STDEXT3_ARCH_CAP 0x20000000
399#define CPUID_STDEXT3_CORE_CAP 0x40000000
400#define CPUID_STDEXT3_SSBD 0x80000000
401
402/* MSR IA32_ARCH_CAP(ABILITIES) bits */
403#define IA32_ARCH_CAP_RDCL_NO 0x00000001
404#define IA32_ARCH_CAP_IBRS_ALL 0x00000002
405#define IA32_ARCH_CAP_RSBA 0x00000004
406#define IA32_ARCH_CAP_SKIP_L1DFL_VMENTRY 0x00000008
407#define IA32_ARCH_CAP_SSB_NO 0x00000010
408#define IA32_ARCH_CAP_MDS_NO 0x00000020
407
408/*
409 * CPUID manufacturers identifiers
410 */
411#define AMD_VENDOR_ID "AuthenticAMD"
412#define CENTAUR_VENDOR_ID "CentaurHauls"
413#define CYRIX_VENDOR_ID "CyrixInstead"
414#define INTEL_VENDOR_ID "GenuineIntel"

--- 536 unchanged lines hidden ---
409
410/*
411 * CPUID manufacturers identifiers
412 */
413#define AMD_VENDOR_ID "AuthenticAMD"
414#define CENTAUR_VENDOR_ID "CentaurHauls"
415#define CYRIX_VENDOR_ID "CyrixInstead"
416#define INTEL_VENDOR_ID "GenuineIntel"

--- 536 unchanged lines hidden ---