TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | DEBUG_CPU_DATA |
struct | DEBUG_MP_CONTEXT |
Macros | |
#define | DEBUG_CPU_MAX_COUNT 256 |
Functions | |
VOID | HaltOtherProcessors (IN UINT32 CurrentProcessorIndex) |
UINT32 | GetProcessorIndex (VOID) |
VOID | AcquireMpSpinLock (IN OUT SPIN_LOCK *MpSpinLock) |
VOID | ReleaseMpSpinLock (IN OUT SPIN_LOCK *MpSpinLock) |
BOOLEAN | DebugAgentIsBsp (IN UINT32 ProcessorIndex) |
VOID | SetCpuStopFlagByIndex (IN UINT32 ProcessorIndex, IN BOOLEAN StopFlag) |
VOID | SetCpuBreakFlagByIndex (IN UINT32 ProcessorIndex, IN BOOLEAN BreakFlag) |
BOOLEAN | IsCpuStopped (IN UINT32 ProcessorIndex) |
VOID | SetCpuRunningFlag (IN BOOLEAN RunningFlag) |
VOID | SetDebugViewPoint (IN UINT32 ProcessorIndex) |
VOID | SetIpiSentByApFlag (IN BOOLEAN IpiSentByApFlag) |
UINT32 | FindNextPendingBreakCpu (VOID) |
BOOLEAN | IsAllCpuRunning (VOID) |
BOOLEAN | IsFirstBreakProcessor (IN UINT32 ProcessorIndex) |
Variables | |
DEBUG_MP_CONTEXT volatile | mDebugMpContext |
DEBUG_CPU_DATA volatile | mDebugCpuData |
Header file for Multi-Processor support.
Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file DebugMp.h.
BOOLEAN DebugAgentIsBsp | ( | IN UINT32 | ProcessorIndex | ) |
UINT32 FindNextPendingBreakCpu | ( | VOID | ) |
UINT32 GetProcessorIndex | ( | VOID | ) |
VOID HaltOtherProcessors | ( | IN UINT32 | CurrentProcessorIndex | ) |
BOOLEAN IsAllCpuRunning | ( | VOID | ) |
BOOLEAN IsCpuStopped | ( | IN UINT32 | ProcessorIndex | ) |
Check if processor is stopped already.
[in] | ProcessorIndex | Processor index value. |
TRUE | Processor is stopped already. |
FALSE | Processor isn't stopped. |
Check if processor is stopped already.
[in] | ProcessorIndex | Processor index value. |
TRUE | Processor is stopped already. |
TRUE | Processor isn't stopped. |
BOOLEAN IsFirstBreakProcessor | ( | IN UINT32 | ProcessorIndex | ) |
Check if the current processor is the first breaking processor.
If yes, halt other processors.
[in] | ProcessorIndex | Processor index value. |
VOID SetCpuRunningFlag | ( | IN BOOLEAN | RunningFlag | ) |
VOID SetDebugViewPoint | ( | IN UINT32 | ProcessorIndex | ) |
VOID SetIpiSentByApFlag | ( | IN BOOLEAN | IpiSentByApFlag | ) |
|
extern |
|
extern |