aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/armdebug/Debugger/debug_stub.h
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-06-22 07:48:39 +0800
committerTat-Chee Wan (USM)2011-06-22 07:48:39 +0800
commit08d838f59595978fced9b3fa25a7bb8255898f29 (patch)
tree35561ecf16623b5050bea7c7b43ddfa8bd670817 /AT91SAM7S256/armdebug/Debugger/debug_stub.h
parent44dcbdc61981f8d2ebc24d125ce786b9595e7969 (diff)
parentabedf371a610485c3de77af2a05e2699627ff358 (diff)
Merge branch 'master' of ssh://svc.cs.usm.my/~/gitrepo-bare/armdebug
Diffstat (limited to 'AT91SAM7S256/armdebug/Debugger/debug_stub.h')
-rw-r--r--AT91SAM7S256/armdebug/Debugger/debug_stub.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/AT91SAM7S256/armdebug/Debugger/debug_stub.h b/AT91SAM7S256/armdebug/Debugger/debug_stub.h
index a4cbdda..11b348e 100644
--- a/AT91SAM7S256/armdebug/Debugger/debug_stub.h
+++ b/AT91SAM7S256/armdebug/Debugger/debug_stub.h
@@ -71,13 +71,13 @@ ENUM_END(comm_chan_t)
* !0 if mode switch will happen
* Used by NxOS only
*/
-FUNCDEF int nxos__handleDebug(comm_chan_t channel);
-#endif
-
-#ifndef __NXOS__
+/* Note: This platform specific routine is found in debug_runlooptasks.S */
+FUNCDEF int nxos__handleDebug(U8 *buffer, comm_chan_t channel, U32 length);
+#else
/** Switch Mode to Debugger.
* Used by NXT Firmware only
*/
+/* Note: This platform specific routine is found in debug_runlooptasks.S */
FUNCDEF UWORD cCommHandleDebug(UBYTE *pInBuf, UBYTE CmdBit, UWORD MsgLength);
#endif