TianoCore EDK2 master
Loading...
Searching...
No Matches
PendingBreak.c File Reference

Go to the source code of this file.

Functions

BOOLEAN EFIAPI PendingBreakSupport (IN UINTN ProcessorNumber, IN REGISTER_CPU_FEATURE_INFORMATION *CpuInfo, IN VOID *ConfigData OPTIONAL)
 
RETURN_STATUS EFIAPI PendingBreakInitialize (IN UINTN ProcessorNumber, IN REGISTER_CPU_FEATURE_INFORMATION *CpuInfo, IN VOID *ConfigData OPTIONAL, IN BOOLEAN State)
 

Detailed Description

Pending Break feature.

Copyright (c) 2017, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file PendingBreak.c.

Function Documentation

◆ PendingBreakInitialize()

RETURN_STATUS EFIAPI PendingBreakInitialize ( IN UINTN  ProcessorNumber,
IN REGISTER_CPU_FEATURE_INFORMATION CpuInfo,
IN VOID *ConfigData  OPTIONAL,
IN BOOLEAN  State 
)

Initializes Pending Break feature to specific state.

Parameters
[in]ProcessorNumberThe index of the CPU executing this function.
[in]CpuInfoA pointer to the REGISTER_CPU_FEATURE_INFORMATION structure for the CPU executing this function.
[in]ConfigDataA 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]StateIf TRUE, then the Pending Break feature must be enabled. If FALSE, then the Pending Break feature must be disabled.
Return values
RETURN_SUCCESSPending Break feature is initialized.
Note
This service could be called by BSP only.

Definition at line 66 of file PendingBreak.c.

◆ PendingBreakSupport()

BOOLEAN EFIAPI PendingBreakSupport ( IN UINTN  ProcessorNumber,
IN REGISTER_CPU_FEATURE_INFORMATION CpuInfo,
IN VOID *ConfigData  OPTIONAL 
)

Detects if Pending Break feature supported on current processor.

Parameters
[in]ProcessorNumberThe index of the CPU executing this function.
[in]CpuInfoA pointer to the REGISTER_CPU_FEATURE_INFORMATION structure for the CPU executing this function.
[in]ConfigDataA pointer to the configuration buffer returned by CPU_FEATURE_GET_CONFIG_DATA. NULL if CPU_FEATURE_GET_CONFIG_DATA was not provided in RegisterCpuFeature().
Return values
TRUEPending Break feature is supported.
FALSEPending Break feature is not supported.
Note
This service could be called by BSP/APs.

Definition at line 29 of file PendingBreak.c.