Now Debug Agent library uses Local APIC Timer to implement time-out mechanism.
In SMM, SMM BSP maybe not be the one in DXE phase, its local APIC timer may not
work. This fix is to initialize Local APIC timer if it doesn't work as expected
at SMM entry.
Add DumpFlag to indicate if dump Local APIC timer's parameter.

Changes since v1:
Per Ray's off-line comments, add DumpFlag to indicate if dump Local APIC
timer's parameter instead of making use of TimerFrequency value.

Jeff Fan (2):
  SourceLevelDebugPkg/SmmDebugAgent: Initialize Local APIC Timer
  SourceLevelDebugPkg/DebugTimer: Dump Debug Timer parameter

 .../Library/DebugAgent/DebugAgentCommon/DebugAgent.c     |  2 +-
 .../Library/DebugAgent/DebugAgentCommon/DebugTimer.c     | 15 +++++++++------
 .../Library/DebugAgent/DebugAgentCommon/DebugTimer.h     |  4 +++-
 .../Library/DebugAgent/DxeDebugAgent/DxeDebugAgentLib.c  |  2 +-
 .../DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.c    |  4 ++--
 .../Library/DebugAgent/SmmDebugAgent/SmmDebugAgentLib.c  | 16 +++++++++++++---
 6 files changed, 29 insertions(+), 14 deletions(-)

-- 
1.9.5.msysgit.0


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to