audk/SourceLevelDebugPkg/Library/DebugAgent
Michael Kinney 2b55daaef0 SourceLevelDebugPkg/SecPeiDebugAgentLib: Fix duplicate symbol
https://bugzilla.tianocore.org/show_bug.cgi?id=573
https://bugzilla.tianocore.org/show_bug.cgi?id=796

The same issue is reported again by GCC. Resend this patch again.
This patch renames the duplicated function name to fix it.

The SecPeiDebugAgentLib uses the global variable
mMemoryDiscoveredNotifyList for a PPI notification on
the Memory Discovered PPI.  This same variable name is
used in the DxeIplPeim for the same PPI notification.

The XCODE5 tool chain detects this duplicate symbol
when the OVMF platform is built with the flag
-D SOURCE_DEBUG_ENABLE.

The fix is to rename this global variable in the
SecPeiDebugAgentLib library.

Cc: Andrew Fish <afish@apple.com>
Cc: Jeff Fan <jeff.fan@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2017-12-08 13:31:47 +08:00
..
DebugAgentCommon SourceLevelDebugPkg: Use Pcd for the revision of transfer protocol 2017-09-04 09:01:16 +08:00
DxeDebugAgent SourceLevelDebugPkg: Refine casting expression result to bigger size 2017-03-06 14:33:25 +08:00
SecPeiDebugAgent SourceLevelDebugPkg/SecPeiDebugAgentLib: Fix duplicate symbol 2017-12-08 13:31:47 +08:00
SmmDebugAgent SourceLevelDebugPkg: Update SmmDebugAgentLib to restore APIC timer 2017-10-16 11:23:16 +08:00
DxeDebugAgentLib.inf SourceLevelDebugPkg: Use Pcd for the revision of transfer protocol 2017-09-04 09:01:16 +08:00
DxeDebugAgentLib.uni SourceLevelDebugPkg: Convert all .uni files to utf-8 2015-12-15 04:58:48 +00:00
SecPeiDebugAgentLib.inf SourceLevelDebugPkg: Use Pcd for the revision of transfer protocol 2017-09-04 09:01:16 +08:00
SecPeiDebugAgentLib.uni SourceLevelDebugPkg: Convert all .uni files to utf-8 2015-12-15 04:58:48 +00:00
SmmDebugAgentLib.inf SourceLevelDebugPkg: Use Pcd for the revision of transfer protocol 2017-09-04 09:01:16 +08:00
SmmDebugAgentLib.uni SourceLevelDebugPkg: Convert all .uni files to utf-8 2015-12-15 04:58:48 +00:00