TianoCore EDK2 master
|
#include <Register/Intel/ArchitecturalMsr.h>
Go to the source code of this file.
Data Structures | |
union | MSR_CORE2_PLATFORM_ID_REGISTER |
union | MSR_CORE2_EBL_CR_POWERON_REGISTER |
union | MSR_CORE2_FEATURE_CONTROL_REGISTER |
union | MSR_CORE2_SMRR_PHYSBASE_REGISTER |
union | MSR_CORE2_SMRR_PHYSMASK_REGISTER |
union | MSR_CORE2_FSB_FREQ_REGISTER |
union | MSR_CORE2_PERF_STATUS_REGISTER |
union | MSR_CORE2_THERM2_CTL_REGISTER |
union | MSR_CORE2_IA32_MISC_ENABLE_REGISTER |
union | MSR_CORE2_PERF_CAPABILITIES_REGISTER |
union | MSR_CORE2_PEBS_ENABLE_REGISTER |
MSR Definitions for the Intel(R) Core(TM) 2 Processor Family.
Provides defines for Machine Specific Registers(MSR) indexes. Data structures are provided for MSRs that contain one or more bit fields. If the MSR value returned is a single 32-bit or 64-bit value, then a data structure is not provided for that MSR.
Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Core2Msr.h.
#define IS_CORE2_PROCESSOR | ( | DisplayFamily, | |
DisplayModel | |||
) |
Is Intel(R) Core(TM) 2 Processor Family?
DisplayFamily | Display Family ID |
DisplayModel | Display Model ID |
TRUE | Yes, it is. |
FALSE | No, it isn't. |
Definition at line 32 of file Core2Msr.h.
#define MSR_CORE2_EBL_CR_POWERON 0x0000002A |
Shared. Processor Hard Power-On Configuration (R/W) Enables and disables processor features; (R) indicates current processor configuration.
ECX | MSR_CORE2_EBL_CR_POWERON (0x0000002A) |
EAX | Lower 32-bits of MSR value. Described by the type MSR_CORE2_EBL_CR_POWERON_REGISTER. |
EDX | Upper 32-bits of MSR value. Described by the type MSR_CORE2_EBL_CR_POWERON_REGISTER. |
Example usage
Definition at line 105 of file Core2Msr.h.
#define MSR_CORE2_EMON_L3_CTR_CTL0 0x000107CC |
Unique. GBUSQ Event Control/Counter Register (R/W) Apply to Intel Xeon processor 7400 series (processor signature 06_1D) only. See Section 17.2.2.
ECX | MSR_CORE2_EMON_L3_CTR_CTLn |
EAX | Lower 32-bits of MSR value. |
EDX | Upper 32-bits of MSR value. |
Example usage
Definition at line 1018 of file Core2Msr.h.
#define MSR_CORE2_EMON_L3_CTR_CTL1 0x000107CD |
Definition at line 1019 of file Core2Msr.h.
#define MSR_CORE2_EMON_L3_CTR_CTL2 0x000107CE |
Definition at line 1020 of file Core2Msr.h.
#define MSR_CORE2_EMON_L3_CTR_CTL3 0x000107CF |
Definition at line 1021 of file Core2Msr.h.
#define MSR_CORE2_EMON_L3_CTR_CTL4 0x000107D0 |
Definition at line 1022 of file Core2Msr.h.
#define MSR_CORE2_EMON_L3_CTR_CTL5 0x000107D1 |
Definition at line 1023 of file Core2Msr.h.
#define MSR_CORE2_EMON_L3_CTR_CTL6 0x000107D2 |
Definition at line 1024 of file Core2Msr.h.
#define MSR_CORE2_EMON_L3_CTR_CTL7 0x000107D3 |
Definition at line 1025 of file Core2Msr.h.
#define MSR_CORE2_EMON_L3_GL_CTL 0x000107D8 |
Unique. L3/FSB Common Control Register (R/W) Apply to Intel Xeon processor 7400 series (processor signature 06_1D) only. See Section 17.2.2.
ECX | MSR_CORE2_EMON_L3_GL_CTL (0x000107D8) |
EAX | Lower 32-bits of MSR value. |
EDX | Upper 32-bits of MSR value. |
Example usage
Definition at line 1045 of file Core2Msr.h.
#define MSR_CORE2_FEATURE_CONTROL 0x0000003A |
Unique. Control Features in Intel 64 Processor (R/W) See Table 2-2.
ECX | MSR_CORE2_FEATURE_CONTROL (0x0000003A) |
EAX | Lower 32-bits of MSR value. Described by the type MSR_CORE2_FEATURE_CONTROL_REGISTER. |
EDX | Upper 32-bits of MSR value. Described by the type MSR_CORE2_FEATURE_CONTROL_REGISTER. |
Example usage
Definition at line 218 of file Core2Msr.h.
#define MSR_CORE2_FSB_FREQ 0x000000CD |
Shared. Scalable Bus Speed(RO) This field indicates the intended scalable bus clock speed for processors based on Intel Core microarchitecture:.
ECX | MSR_CORE2_FSB_FREQ (0x000000CD) |
EAX | Lower 32-bits of MSR value. Described by the type MSR_CORE2_FSB_FREQ_REGISTER. |
EDX | Upper 32-bits of MSR value. Described by the type MSR_CORE2_FSB_FREQ_REGISTER. |
Example usage
Definition at line 421 of file Core2Msr.h.
#define MSR_CORE2_IA32_MISC_ENABLE 0x000001A0 |
Enable Misc. Processor Features (R/W) Allows a variety of processor functions to be enabled and disabled.
ECX | MSR_CORE2_IA32_MISC_ENABLE (0x000001A0) |
EAX | Lower 32-bits of MSR value. Described by the type MSR_CORE2_IA32_MISC_ENABLE_REGISTER. |
EDX | Upper 32-bits of MSR value. Described by the type MSR_CORE2_IA32_MISC_ENABLE_REGISTER. |
Example usage
Definition at line 589 of file Core2Msr.h.
#define MSR_CORE2_LASTBRANCH_0_FROM_IP 0x00000040 |
Unique. Last Branch Record n From IP (R/W) One of four pairs of last branch record registers on the last branch record stack. The From_IP part of the stack contains pointers to the source instruction. See also: - Last Branch Record Stack TOS at 1C9H - Section 17.5.
ECX | MSR_CORE2_LASTBRANCH_n_FROM_IP |
EAX | Lower 32-bits of MSR value. |
EDX | Upper 32-bits of MSR value. |
Example usage
Definition at line 271 of file Core2Msr.h.
#define MSR_CORE2_LASTBRANCH_0_TO_IP 0x00000060 |
Unique. Last Branch Record n To IP (R/W) One of four pairs of last branch record registers on the last branch record stack. This To_IP part of the stack contains pointers to the destination instruction.
ECX | MSR_CORE2_LASTBRANCH_n_TO_IP |
EAX | Lower 32-bits of MSR value. |
EDX | Upper 32-bits of MSR value. |
Example usage
Definition at line 299 of file Core2Msr.h.
#define MSR_CORE2_LASTBRANCH_1_FROM_IP 0x00000041 |
Definition at line 272 of file Core2Msr.h.
#define MSR_CORE2_LASTBRANCH_1_TO_IP 0x00000061 |
Definition at line 300 of file Core2Msr.h.
#define MSR_CORE2_LASTBRANCH_2_FROM_IP 0x00000042 |
Definition at line 273 of file Core2Msr.h.
#define MSR_CORE2_LASTBRANCH_2_TO_IP 0x00000062 |
Definition at line 301 of file Core2Msr.h.
#define MSR_CORE2_LASTBRANCH_3_FROM_IP 0x00000043 |
Definition at line 274 of file Core2Msr.h.
#define MSR_CORE2_LASTBRANCH_3_TO_IP 0x00000063 |
Definition at line 302 of file Core2Msr.h.
#define MSR_CORE2_LASTBRANCH_TOS 0x000001C9 |
Unique. Last Branch Record Stack TOS (R/W) Contains an index (bits 0-3) that points to the MSR containing the most recent branch record. See MSR_LASTBRANCH_0_FROM_IP (at 40H).
ECX | MSR_CORE2_LASTBRANCH_TOS (0x000001C9) |
EAX | Lower 32-bits of MSR value. |
EDX | Upper 32-bits of MSR value. |
Example usage
Definition at line 756 of file Core2Msr.h.
#define MSR_CORE2_LER_FROM_LIP 0x000001DD |
Unique. Last Exception Record From Linear IP (R) Contains a pointer to the last branch instruction that the processor executed prior to the last exception that was generated or the last interrupt that was handled.
ECX | MSR_CORE2_LER_FROM_LIP (0x000001DD) |
EAX | Lower 32-bits of MSR value. |
EDX | Upper 32-bits of MSR value. |
Example usage
Definition at line 775 of file Core2Msr.h.
#define MSR_CORE2_LER_TO_LIP 0x000001DE |
Unique. Last Exception Record To Linear IP (R) This area contains a pointer to the target of the last branch instruction that the processor executed prior to the last exception that was generated or the last interrupt that was handled.
ECX | MSR_CORE2_LER_TO_LIP (0x000001DE) |
EAX | Lower 32-bits of MSR value. |
EDX | Upper 32-bits of MSR value. |
Example usage
Definition at line 795 of file Core2Msr.h.
#define MSR_CORE2_PEBS_ENABLE 0x000003F1 |
Unique. See Table 2-2. See Section 18.6.2.4, "Processor Event Based Sampling (PEBS).".
ECX | MSR_CORE2_PEBS_ENABLE (0x000003F1) |
EAX | Lower 32-bits of MSR value. Described by the type MSR_CORE2_PEBS_ENABLE_REGISTER. |
EDX | Upper 32-bits of MSR value. Described by the type MSR_CORE2_PEBS_ENABLE_REGISTER. |
Example usage
Definition at line 966 of file Core2Msr.h.
#define MSR_CORE2_PERF_CAPABILITIES 0x00000345 |
Unique. RO. This applies to processors that do not support architectural perfmon version 2.
ECX | MSR_CORE2_PERF_CAPABILITIES (0x00000345) |
EAX | Lower 32-bits of MSR value. Described by the type MSR_CORE2_PERF_CAPABILITIES_REGISTER. |
EDX | Upper 32-bits of MSR value. Described by the type MSR_CORE2_PERF_CAPABILITIES_REGISTER. |
Example usage
Definition at line 840 of file Core2Msr.h.
#define MSR_CORE2_PERF_FIXED_CTR0 0x00000309 |
Unique. Fixed-Function Performance Counter Register n (R/W).
ECX | MSR_CORE2_PERF_FIXED_CTRn |
EAX | Lower 32-bits of MSR value. |
EDX | Upper 32-bits of MSR value. |
Example usage
Definition at line 816 of file Core2Msr.h.
#define MSR_CORE2_PERF_FIXED_CTR1 0x0000030A |
Definition at line 817 of file Core2Msr.h.
#define MSR_CORE2_PERF_FIXED_CTR2 0x0000030B |
Definition at line 818 of file Core2Msr.h.
#define MSR_CORE2_PERF_FIXED_CTR_CTRL 0x0000038D |
Unique. Fixed-Function-Counter Control Register (R/W).
ECX | MSR_CORE2_PERF_FIXED_CTR_CTRL (0x0000038D) |
EAX | Lower 32-bits of MSR value. |
EDX | Upper 32-bits of MSR value. |
Example usage
Definition at line 891 of file Core2Msr.h.
#define MSR_CORE2_PERF_GLOBAL_CTRL 0x0000038F |
Unique. See Section 18.6.2.2, "Global Counter Control Facilities.".
ECX | MSR_CORE2_PERF_GLOBAL_CTRL (0x0000038F) |
EAX | Lower 32-bits of MSR value. |
EDX | Upper 32-bits of MSR value. |
Example usage
Definition at line 927 of file Core2Msr.h.
#define MSR_CORE2_PERF_GLOBAL_OVF_CTRL 0x00000390 |
Unique. See Section 18.6.2.2, "Global Counter Control Facilities.".
ECX | MSR_CORE2_PERF_GLOBAL_OVF_CTRL (0x00000390) |
EAX | Lower 32-bits of MSR value. |
EDX | Upper 32-bits of MSR value. |
Example usage
Definition at line 945 of file Core2Msr.h.
#define MSR_CORE2_PERF_GLOBAL_STATUS 0x0000038E |
Unique. See Section 18.6.2.2, "Global Counter Control Facilities.".
ECX | MSR_CORE2_PERF_GLOBAL_STATUS (0x0000038E) |
EAX | Lower 32-bits of MSR value. |
EDX | Upper 32-bits of MSR value. |
Example usage
Definition at line 909 of file Core2Msr.h.
#define MSR_CORE2_PERF_STATUS 0x00000198 |
Shared.
ECX | MSR_CORE2_PERF_STATUS (0x00000198) |
EAX | Lower 32-bits of MSR value. Described by the type MSR_CORE2_PERF_STATUS_REGISTER. |
EDX | Upper 32-bits of MSR value. Described by the type MSR_CORE2_PERF_STATUS_REGISTER. |
Example usage
Definition at line 479 of file Core2Msr.h.
#define MSR_CORE2_PLATFORM_ID 0x00000017 |
Shared. Model Specific Platform ID (R).
ECX | MSR_CORE2_PLATFORM_ID (0x00000017) |
EAX | Lower 32-bits of MSR value. Described by the type MSR_CORE2_PLATFORM_ID_REGISTER. |
EDX | Upper 32-bits of MSR value. Described by the type MSR_CORE2_PLATFORM_ID_REGISTER. |
Example usage
Definition at line 57 of file Core2Msr.h.
#define MSR_CORE2_SMRR_PHYSBASE 0x000000A0 |
Unique. System Management Mode Base Address register (WO in SMM) Model-specific implementation of SMRR-like interface, read visible and write only in SMM.
ECX | MSR_CORE2_SMRR_PHYSBASE (0x000000A0) |
EAX | Lower 32-bits of MSR value. Described by the type MSR_CORE2_SMRR_PHYSBASE_REGISTER. |
EDX | Upper 32-bits of MSR value. Described by the type MSR_CORE2_SMRR_PHYSBASE_REGISTER. |
Example usage
Definition at line 325 of file Core2Msr.h.
#define MSR_CORE2_SMRR_PHYSMASK 0x000000A1 |
Unique. System Management Mode Physical Address Mask register (WO in SMM) Model-specific implementation of SMRR-like interface, read visible and write only in SMM.
ECX | MSR_CORE2_SMRR_PHYSMASK (0x000000A1) |
EAX | Lower 32-bits of MSR value. Described by the type MSR_CORE2_SMRR_PHYSMASK_REGISTER. |
EDX | Upper 32-bits of MSR value. Described by the type MSR_CORE2_SMRR_PHYSMASK_REGISTER. |
Example usage
Definition at line 372 of file Core2Msr.h.
#define MSR_CORE2_THERM2_CTL 0x0000019D |
Unique.
ECX | MSR_CORE2_THERM2_CTL (0x0000019D) |
EAX | Lower 32-bits of MSR value. Described by the type MSR_CORE2_THERM2_CTL_REGISTER. |
EDX | Upper 32-bits of MSR value. Described by the type MSR_CORE2_THERM2_CTL_REGISTER. |
Example usage
Definition at line 538 of file Core2Msr.h.