TianoCore EDK2 master
|
#include "CpuCommonFeatures.h"
Go to the source code of this file.
Functions | |
BOOLEAN EFIAPI | MceSupport (IN UINTN ProcessorNumber, IN REGISTER_CPU_FEATURE_INFORMATION *CpuInfo, IN VOID *ConfigData OPTIONAL) |
RETURN_STATUS EFIAPI | MceInitialize (IN UINTN ProcessorNumber, IN REGISTER_CPU_FEATURE_INFORMATION *CpuInfo, IN VOID *ConfigData OPTIONAL, IN BOOLEAN State) |
BOOLEAN EFIAPI | McaSupport (IN UINTN ProcessorNumber, IN REGISTER_CPU_FEATURE_INFORMATION *CpuInfo, IN VOID *ConfigData OPTIONAL) |
RETURN_STATUS EFIAPI | McaInitialize (IN UINTN ProcessorNumber, IN REGISTER_CPU_FEATURE_INFORMATION *CpuInfo, IN VOID *ConfigData OPTIONAL, IN BOOLEAN State) |
BOOLEAN EFIAPI | McgCtlSupport (IN UINTN ProcessorNumber, IN REGISTER_CPU_FEATURE_INFORMATION *CpuInfo, IN VOID *ConfigData OPTIONAL) |
RETURN_STATUS EFIAPI | McgCtlInitialize (IN UINTN ProcessorNumber, IN REGISTER_CPU_FEATURE_INFORMATION *CpuInfo, IN VOID *ConfigData OPTIONAL, IN BOOLEAN State) |
BOOLEAN EFIAPI | LmceSupport (IN UINTN ProcessorNumber, IN REGISTER_CPU_FEATURE_INFORMATION *CpuInfo, IN VOID *ConfigData OPTIONAL) |
RETURN_STATUS EFIAPI | LmceInitialize (IN UINTN ProcessorNumber, IN REGISTER_CPU_FEATURE_INFORMATION *CpuInfo, IN VOID *ConfigData OPTIONAL, IN BOOLEAN State) |
Machine Check features.
Copyright (c) 2017 - 2024, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file MachineCheck.c.
RETURN_STATUS EFIAPI LmceInitialize | ( | IN UINTN | ProcessorNumber, |
IN REGISTER_CPU_FEATURE_INFORMATION * | CpuInfo, | ||
IN VOID *ConfigData | OPTIONAL, | ||
IN BOOLEAN | State | ||
) |
Initializes Local machine check exception feature to specific state.
[in] | ProcessorNumber | The index of the CPU executing this function. |
[in] | CpuInfo | A pointer to the REGISTER_CPU_FEATURE_INFORMATION structure for the CPU executing this function. |
[in] | ConfigData | A pointer to the configuration buffer returned by CPU_FEATURE_GET_CONFIG_DATA. NULL if CPU_FEATURE_GET_CONFIG_DATA was not provided in RegisterCpuFeature(). |
[in] | State | If TRUE, then the Local machine check exception feature must be enabled. If FALSE, then the Local machine check exception feature must be disabled. |
RETURN_SUCCESS | Local machine check exception feature is initialized. |
Definition at line 316 of file MachineCheck.c.
BOOLEAN EFIAPI LmceSupport | ( | IN UINTN | ProcessorNumber, |
IN REGISTER_CPU_FEATURE_INFORMATION * | CpuInfo, | ||
IN VOID *ConfigData | OPTIONAL | ||
) |
Detects if Local machine check exception feature supported on current processor.
[in] | ProcessorNumber | The index of the CPU executing this function. |
[in] | CpuInfo | A pointer to the REGISTER_CPU_FEATURE_INFORMATION structure for the CPU executing this function. |
[in] | ConfigData | A pointer to the configuration buffer returned by CPU_FEATURE_GET_CONFIG_DATA. NULL if CPU_FEATURE_GET_CONFIG_DATA was not provided in RegisterCpuFeature(). |
TRUE | Local machine check exception feature is supported. |
FALSE | Local machine check exception feature is not supported. |
Definition at line 279 of file MachineCheck.c.
RETURN_STATUS EFIAPI McaInitialize | ( | IN UINTN | ProcessorNumber, |
IN REGISTER_CPU_FEATURE_INFORMATION * | CpuInfo, | ||
IN VOID *ConfigData | OPTIONAL, | ||
IN BOOLEAN | State | ||
) |
Initializes Machine Check Architecture feature to specific state.
[in] | ProcessorNumber | The index of the CPU executing this function. |
[in] | CpuInfo | A pointer to the REGISTER_CPU_FEATURE_INFORMATION structure for the CPU executing this function. |
[in] | ConfigData | A pointer to the configuration buffer returned by CPU_FEATURE_GET_CONFIG_DATA. NULL if CPU_FEATURE_GET_CONFIG_DATA was not provided in RegisterCpuFeature(). |
[in] | State | If TRUE, then the Machine Check Architecture feature must be enabled. If FALSE, then the Machine Check Architecture feature must be disabled. |
RETURN_SUCCESS | Machine Check Architecture feature is initialized. |
Definition at line 128 of file MachineCheck.c.
BOOLEAN EFIAPI McaSupport | ( | IN UINTN | ProcessorNumber, |
IN REGISTER_CPU_FEATURE_INFORMATION * | CpuInfo, | ||
IN VOID *ConfigData | OPTIONAL | ||
) |
Detects if Machine Check Architecture feature supported on current processor.
[in] | ProcessorNumber | The index of the CPU executing this function. |
[in] | CpuInfo | A pointer to the REGISTER_CPU_FEATURE_INFORMATION structure for the CPU executing this function. |
[in] | ConfigData | A pointer to the configuration buffer returned by CPU_FEATURE_GET_CONFIG_DATA. NULL if CPU_FEATURE_GET_CONFIG_DATA was not provided in RegisterCpuFeature(). |
TRUE | Machine Check Architecture feature is supported. |
FALSE | Machine Check Architecture feature is not supported. |
Definition at line 96 of file MachineCheck.c.
RETURN_STATUS EFIAPI MceInitialize | ( | IN UINTN | ProcessorNumber, |
IN REGISTER_CPU_FEATURE_INFORMATION * | CpuInfo, | ||
IN VOID *ConfigData | OPTIONAL, | ||
IN BOOLEAN | State | ||
) |
Initializes Machine Check Exception feature to specific state.
[in] | ProcessorNumber | The index of the CPU executing this function. |
[in] | CpuInfo | A pointer to the REGISTER_CPU_FEATURE_INFORMATION structure for the CPU executing this function. |
[in] | ConfigData | A pointer to the configuration buffer returned by CPU_FEATURE_GET_CONFIG_DATA. NULL if CPU_FEATURE_GET_CONFIG_DATA was not provided in RegisterCpuFeature(). |
[in] | State | If TRUE, then the Machine Check Exception feature must be enabled. If FALSE, then the Machine Check Exception feature must be disabled. |
RETURN_SUCCESS | Machine Check Exception feature is initialized. |
Definition at line 57 of file MachineCheck.c.
BOOLEAN EFIAPI MceSupport | ( | IN UINTN | ProcessorNumber, |
IN REGISTER_CPU_FEATURE_INFORMATION * | CpuInfo, | ||
IN VOID *ConfigData | OPTIONAL | ||
) |
Detects if Machine Check Exception feature supported on current processor.
[in] | ProcessorNumber | The index of the CPU executing this function. |
[in] | CpuInfo | A pointer to the REGISTER_CPU_FEATURE_INFORMATION structure for the CPU executing this function. |
[in] | ConfigData | A pointer to the configuration buffer returned by CPU_FEATURE_GET_CONFIG_DATA. NULL if CPU_FEATURE_GET_CONFIG_DATA was not provided in RegisterCpuFeature(). |
TRUE | Machine Check Exception feature is supported. |
FALSE | Machine Check Exception feature is not supported. |
Definition at line 29 of file MachineCheck.c.
RETURN_STATUS EFIAPI McgCtlInitialize | ( | IN UINTN | ProcessorNumber, |
IN REGISTER_CPU_FEATURE_INFORMATION * | CpuInfo, | ||
IN VOID *ConfigData | OPTIONAL, | ||
IN BOOLEAN | State | ||
) |
Initializes IA32_MCG_CTL feature to specific state.
[in] | ProcessorNumber | The index of the CPU executing this function. |
[in] | CpuInfo | A pointer to the REGISTER_CPU_FEATURE_INFORMATION structure for the CPU executing this function. |
[in] | ConfigData | A pointer to the configuration buffer returned by CPU_FEATURE_GET_CONFIG_DATA. NULL if CPU_FEATURE_GET_CONFIG_DATA was not provided in RegisterCpuFeature(). |
[in] | State | If TRUE, then the IA32_MCG_CTL feature must be enabled. If FALSE, then the IA32_MCG_CTL feature must be disabled. |
RETURN_SUCCESS | IA32_MCG_CTL feature is initialized. |
Definition at line 244 of file MachineCheck.c.
BOOLEAN EFIAPI McgCtlSupport | ( | IN UINTN | ProcessorNumber, |
IN REGISTER_CPU_FEATURE_INFORMATION * | CpuInfo, | ||
IN VOID *ConfigData | OPTIONAL | ||
) |
Detects if IA32_MCG_CTL feature supported on current processor.
[in] | ProcessorNumber | The index of the CPU executing this function. |
[in] | CpuInfo | A pointer to the REGISTER_CPU_FEATURE_INFORMATION structure for the CPU executing this function. |
[in] | ConfigData | A pointer to the configuration buffer returned by CPU_FEATURE_GET_CONFIG_DATA. NULL if CPU_FEATURE_GET_CONFIG_DATA was not provided in RegisterCpuFeature(). |
TRUE | IA32_MCG_CTL feature is supported. |
FALSE | IA32_MCG_CTL feature is not supported. |
Definition at line 209 of file MachineCheck.c.