#define DEBUG_AGENT_INIT_POSTMEM_SEC 2\r
#define DEBUG_AGENT_INIT_DXE 3\r
#define DEBUG_AGENT_INIT_SMM 4\r
-#define DEBUG_AGENT_INIT_SMI 5\r
+#define DEBUG_AGENT_INIT_ENTER_SMI 5\r
+#define DEBUG_AGENT_INIT_EXIT_SMI 6\r
\r
/**\r
Initialize debug agent.\r
);\r
\r
/**\r
- Enable/Disable the interrupt of debug timer.\r
+ Enable/Disable the interrupt of debug timer and return the interrupt state\r
+ prior to the operation.\r
\r
If EnableStatus is TRUE, enable the interrupt of debug timer.\r
If EnableStatus is FALSE, disable the interrupt of debug timer.\r
\r
@param[in] EnableStatus Enable/Disable.\r
\r
+ @retval TRUE Debug timer interrupt were enabled on entry to this call.\r
+ @retval FALSE Debug timer interrupt were disabled on entry to this call.\r
+\r
**/\r
-VOID\r
+BOOLEAN\r
EFIAPI\r
-SetDebugTimerInterrupt (\r
+SaveAndSetDebugTimerInterrupt (\r
IN BOOLEAN EnableStatus\r
);\r
\r