TianoCore EDK2 master
|
#include "DebugAgent.h"
Go to the source code of this file.
Functions | |
VOID | AcquireMpSpinLock (IN OUT SPIN_LOCK *MpSpinLock) |
VOID | ReleaseMpSpinLock (IN OUT SPIN_LOCK *MpSpinLock) |
VOID | HaltOtherProcessors (IN UINT32 CurrentProcessorIndex) |
UINT32 | GetProcessorIndex (VOID) |
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 | |
GLOBAL_REMOVE_IF_UNREFERENCED DEBUG_MP_CONTEXT volatile | mDebugMpContext = { 0, 0, 0, { 0 }, { 0 }, 0, 0, 0, 0, FALSE, FALSE } |
GLOBAL_REMOVE_IF_UNREFERENCED DEBUG_CPU_DATA volatile | mDebugCpuData = { 0 } |
Multi-Processor support functions implementation.
Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file DebugMp.c.
BOOLEAN DebugAgentIsBsp | ( | IN UINT32 | ProcessorIndex | ) |
UINT32 FindNextPendingBreakCpu | ( | VOID | ) |
UINT32 GetProcessorIndex | ( | VOID | ) |
VOID HaltOtherProcessors | ( | IN UINT32 | CurrentProcessorIndex | ) |
BOOLEAN IsAllCpuRunning | ( | VOID | ) |
BOOLEAN IsCpuStopped | ( | IN UINT32 | ProcessorIndex | ) |
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 | ) |
GLOBAL_REMOVE_IF_UNREFERENCED DEBUG_CPU_DATA volatile mDebugCpuData = { 0 } |
GLOBAL_REMOVE_IF_UNREFERENCED DEBUG_MP_CONTEXT volatile mDebugMpContext = { 0, 0, 0, { 0 }, { 0 }, 0, 0, 0, 0, FALSE, FALSE } |