Home
last modified time | relevance | path

Searched refs:mDebugMpContext (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/
DDebugMp.c17 GLOBAL_REMOVE_IF_UNREFERENCED DEBUG_MP_CONTEXT volatile mDebugMpContext = {0,0,0,{0},{0},0,0,0,0,F… variable
82 mDebugMpContext.BreakAtCpuIndex = CurrentProcessorIndex; in HaltOtherProcessors()
112 AcquireMpSpinLock (&mDebugMpContext.MpContextSpinLock); in GetProcessorIndex()
125 ReleaseMpSpinLock (&mDebugMpContext.MpContextSpinLock); in GetProcessorIndex()
154 if (mDebugMpContext.BspIndex != ProcessorIndex) { in IsBsp()
155 AcquireMpSpinLock (&mDebugMpContext.MpContextSpinLock); in IsBsp()
156 mDebugMpContext.BspIndex = ProcessorIndex; in IsBsp()
157 ReleaseMpSpinLock (&mDebugMpContext.MpContextSpinLock); in IsBsp()
182 AcquireMpSpinLock (&mDebugMpContext.MpContextSpinLock); in SetCpuStopFlagByIndex()
184 Value = mDebugMpContext.CpuStopStatusMask[ProcessorIndex / 8]; in SetCpuStopFlagByIndex()
[all …]
DDebugAgent.c351 AcquireMpSpinLock (&mDebugMpContext.MailboxSpinLock); in UpdateMailboxContent()
390 ReleaseMpSpinLock (&mDebugMpContext.MailboxSpinLock); in UpdateMailboxContent()
1875 if (mDebugMpContext.ViewPointIndex == ProcessorIndex) { in CommandCommunication()
1898 if (mDebugMpContext.ViewPointIndex != ProcessorIndex) { in CommandCommunication()
1899 if (mDebugMpContext.RunCommandSet) { in CommandCommunication()
1916 AcquireMpSpinLock (&mDebugMpContext.DebugPortSpinLock); in CommandCommunication()
1925 ReleaseMpSpinLock (&mDebugMpContext.DebugPortSpinLock); in CommandCommunication()
1933 ReleaseMpSpinLock (&mDebugMpContext.DebugPortSpinLock); in CommandCommunication()
1939 ReleaseMpSpinLock (&mDebugMpContext.DebugPortSpinLock); in CommandCommunication()
1953 ReleaseMpSpinLock (&mDebugMpContext.DebugPortSpinLock); in CommandCommunication()
[all …]
DDebugMp.h39 extern DEBUG_MP_CONTEXT volatile mDebugMpContext;
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/
DDxeDebugAgentLib.c217 AcquireMpSpinLock (&mDebugMpContext.MailboxSpinLock); in GetMailboxPointer()
219 ReleaseMpSpinLock (&mDebugMpContext.MailboxSpinLock); in GetMailboxPointer()
258 InitializeSpinLock (&mDebugMpContext.MpContextSpinLock); in SetupDebugAgentEnvironment()
259 InitializeSpinLock (&mDebugMpContext.DebugPortSpinLock); in SetupDebugAgentEnvironment()
260 InitializeSpinLock (&mDebugMpContext.MailboxSpinLock); in SetupDebugAgentEnvironment()
264 mDebugMpContext.BreakAtCpuIndex = (UINT32) -1; in SetupDebugAgentEnvironment()
309 mDebugMpContext.DebugTimerInitCount = InitializeDebugTimer (&DebugTimerFrequency, TRUE); in SetupDebugAgentEnvironment()