summaryrefslogtreecommitdiffstats
path: root/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugMp.c
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2018-02-02 15:34:48 +0800
committerStar Zeng <star.zeng@intel.com>2018-05-11 17:49:20 +0800
commit38ce9cd51083e21a6ec56878c3fc2e156fb918f7 (patch)
tree73a9f52586fe8e90da00472a62d4dbb0e734af60 /SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugMp.c
parent3bc7ae9d7db6e5d8406bcf0d67a67a2eea146788 (diff)
downloadedk2-38ce9cd51083e21a6ec56878c3fc2e156fb918f7.tar.gz
edk2-38ce9cd51083e21a6ec56878c3fc2e156fb918f7.tar.bz2
edk2-38ce9cd51083e21a6ec56878c3fc2e156fb918f7.zip
SourceLevelDebugPkg DebugAgentLib: Rename IsBsp to DebugAgentIsBsp
For avoiding function name confliction, rename IsBsp to DebugAgentIsBsp. Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Hao Wu <hao.a.wu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> (cherry picked from commit a2acb04ca67853519a514a986de11b6bc468d564)
Diffstat (limited to 'SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugMp.c')
-rw-r--r--SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugMp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugMp.c b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugMp.c
index d49d4ee323..e3ed08db49 100644
--- a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugMp.c
+++ b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugMp.c
@@ -1,7 +1,7 @@
/** @file
Multi-Processor support functions implementation.
- Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -75,7 +75,7 @@ HaltOtherProcessors (
)
{
DebugAgentMsgPrint (DEBUG_AGENT_INFO, "processor[%x]:Try to halt other processors.\n", CurrentProcessorIndex);
- if (!IsBsp (CurrentProcessorIndex)) {
+ if (!DebugAgentIsBsp (CurrentProcessorIndex)) {
SetIpiSentByApFlag (TRUE);;
}
@@ -137,7 +137,7 @@ GetProcessorIndex (
**/
BOOLEAN
-IsBsp (
+DebugAgentIsBsp (
IN UINT32 ProcessorIndex
)
{