TianoCore EDK2 master
|
#include "CpuCommonFeatures.h"
Go to the source code of this file.
Functions | |
BOOLEAN EFIAPI | C1eSupport (IN UINTN ProcessorNumber, IN REGISTER_CPU_FEATURE_INFORMATION *CpuInfo, IN VOID *ConfigData OPTIONAL) |
RETURN_STATUS EFIAPI | C1eInitialize (IN UINTN ProcessorNumber, IN REGISTER_CPU_FEATURE_INFORMATION *CpuInfo, IN VOID *ConfigData OPTIONAL, IN BOOLEAN State) |
C1E feature.
Copyright (c) 2017, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file C1e.c.
RETURN_STATUS EFIAPI C1eInitialize | ( | IN UINTN | ProcessorNumber, |
IN REGISTER_CPU_FEATURE_INFORMATION * | CpuInfo, | ||
IN VOID *ConfigData | OPTIONAL, | ||
IN BOOLEAN | State | ||
) |
Initializes C1E 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 C1E feature must be enabled. If FALSE, then the C1E feature must be disabled. |
RETURN_SUCCESS | C1E feature is initialized. |
BOOLEAN EFIAPI C1eSupport | ( | IN UINTN | ProcessorNumber, |
IN REGISTER_CPU_FEATURE_INFORMATION * | CpuInfo, | ||
IN VOID *ConfigData | OPTIONAL | ||
) |
Detects if C1E 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 | C1E feature is supported. |
FALSE | C1E feature is not supported. |