summaryrefslogtreecommitdiffstats
path: root/SourceLevelDebugPkg/Include
diff options
context:
space:
mode:
authorniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2012-02-07 01:58:30 +0000
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2012-02-07 01:58:30 +0000
commitb4ebbafff696b02c69ee3a6d293a39f9a7c2f58d (patch)
treecf447356054a247d0f703b6fdaa92a246ed4d012 /SourceLevelDebugPkg/Include
parent3e570e6e52bc5c2ea0fbe479c2a49107c754788c (diff)
downloadedk2-b4ebbafff696b02c69ee3a6d293a39f9a7c2f58d.tar.gz
edk2-b4ebbafff696b02c69ee3a6d293a39f9a7c2f58d.tar.bz2
edk2-b4ebbafff696b02c69ee3a6d293a39f9a7c2f58d.zip
Generic solution to handle reset failure in some special platforms.
Upon receiving RESET packet from HOST side, TARGET either sends OK packet and resets, or sends OK packet followed by TIMEOUT packet in 2 seconds indicating the reset failure. Signed-off-by: niruiyu Reviewed-by: vanjeff git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12984 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SourceLevelDebugPkg/Include')
-rw-r--r--SourceLevelDebugPkg/Include/TransferProtocol.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/SourceLevelDebugPkg/Include/TransferProtocol.h b/SourceLevelDebugPkg/Include/TransferProtocol.h
index e0b3d7e7b7..af80a7450c 100644
--- a/SourceLevelDebugPkg/Include/TransferProtocol.h
+++ b/SourceLevelDebugPkg/Include/TransferProtocol.h
@@ -2,7 +2,7 @@
Transfer protocol defintions used by debug agent and host. It is only
intended to be used by Debug related module implementation.
- Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2010 - 2012, 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
@@ -141,6 +141,7 @@ typedef struct {
#define DEBUG_COMMAND_HALT_DEFERRED (DEBUG_COMMAND_RESPONSE | 5)
#define DEBUG_COMMAND_HALT_PROCESSED (DEBUG_COMMAND_RESPONSE | 6)
+#define DEBUG_COMMAND_TIMEOUT (DEBUG_COMMAND_RESPONSE | 7)
#define DEBUG_COMMAND_NOT_SUPPORTED (DEBUG_COMMAND_RESPONSE | 15)
//