From 5235e4350447ce9486770bd5486d696dd05fd0a5 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Tue, 21 Jun 2011 13:58:49 +0800 Subject: moved platform specific code from debug_comm to debug_runlooptasks Reimplement debugger message handling code Moved platform specific code from debug_comm.S to debug_runlooptasks.S --- Debugger/debug_stub.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Debugger/debug_stub.h') diff --git a/Debugger/debug_stub.h b/Debugger/debug_stub.h index a4cbdda..11b348e 100644 --- a/Debugger/debug_stub.h +++ b/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 -- cgit v1.2.3