Revision: 17203
          http://sourceforge.net/p/edk2/code/17203
Author:   vanjeff
Date:     2015-04-27 05:21:17 +0000 (Mon, 27 Apr 2015)
Log Message:
-----------
SourceLevelDebugPkg/DebugAgent: Add InterruptFlag field

Add InterruptFlag field in DEBUG_AGENT_FLAG. This field is used to
save/restore EFLAGS.IF across Stepping command execution.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>

Modified Paths:
--------------
    
trunk/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.h

Modified: 
trunk/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.h
===================================================================
--- 
trunk/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.h 
    2015-04-27 05:18:42 UTC (rev 17202)
+++ 
trunk/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.h 
    2015-04-27 05:21:17 UTC (rev 17203)
@@ -93,6 +93,7 @@
 #define DEBUG_AGENT_FLAG_STEPPING              BIT3
 #define DEBUG_AGENT_FLAG_CHECK_MAILBOX_IN_HOB  BIT4
 #define DEBUG_AGENT_FLAG_INIT_ARCH             BIT5|BIT6
+#define DEBUG_AGENT_FLAG_INTERRUPT_FLAG        BIT7
 #define DEBUG_AGENT_FLAG_BREAK_ON_NEXT_SMI     BIT32
 #define DEBUG_AGENT_FLAG_PRINT_ERROR_LEVEL     (BIT33|BIT34|BIT35|BIT36)
 #define DEBUG_AGENT_FLAG_BREAK_BOOT_SCRIPT     BIT37
@@ -117,7 +118,8 @@
     UINT32  SteppingFlag      : 1;   // 1: Agent is running stepping command
     UINT32  CheckMailboxInHob : 1;   // 1: Need to check mailbox saved in HOB
     UINT32  InitArch          : 2;   // value of DEBUG_DATA_RESPONSE_ARCH_MODE
-    UINT32  Reserved1         : 25;
+    UINT32  InterruptFlag     : 1;   // 1: EFLAGS.IF is set
+    UINT32  Reserved1         : 24;
     //
     // Higher 32bits to control the behavior of DebugAgent
     //


------------------------------------------------------------------------------
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-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to