********************************************************** ********************************************************** ********** ************ ********** GATEWAY mode ************ ********** ************ ********************************************************** ********************************************************** ********************************************************** ********** tornado\target\src\config\usrWdb.c ************ ********************************************************** -- Add the following line to the list of header files: #if (WDB_COMM_TYPE == WDB_COMM_BDI) #include "wdbBdiPktDrv.h" #endif -- Add the following lines to the routine wdbCommIfInit: #if (WDB_COMM_TYPE == WDB_COMM_BDI) { /* bdi packet driver - supports task or external agent */ static WDB_BDI_PKT_DEV wdbBdiPktDev; /* BDI packet device */ wdbBdiPktDevInit (&wdbBdiPktDev, udpRcv); udpCommIfInit (pCommIf, &wdbBdiPktDev.wdbDrvIf); } #endif /* (WDB_COMM_TYPE == WDB_COMM_BDI) */ ********************************************************** ******** tornado\target\config\all\configAll.h *********** ********************************************************** -- Add the following line to the list of communication paths: #define WDB_COMM_BDI 6 /* bdi packet device - bimodal */ ********************************************************** ******** tornado\target\config\myTarget\Makefile ********* ********************************************************** -- Add the following lines after the line HEX_FLAGS. MACH_EXTRA = wdbBdiPktDrv.o ********************************************************** ******** tornado\target\config\myTarget\sysLib.c ********* ********************************************************** -- Change the routine sysHwInit so it properly initialises your hardware. ********************************************************** ******** tornado\target\config\myTarget\sysALib.s ******** ********************************************************** -- Add the following linse to the list of exported symbols: .globl bdiInit /* bdi communication setup */ .globl bdiCall /* enter debug mode */ -- Add the following routinse to the end of the file: /******************************************************************************* * * bdiInit - send BDI communication base address to BDI * * bdiInit * ( * void* baseAddr /@ the base address of the communication structure @/ * ) */ bdiInit: sc /* enter debug mode */ blr /******************************************************************************* * * bdiCall - enter debug mode * * bdiCall * ( * void * ) */ bdiCall: sc /* enter debug mode */ blr ********************************************************** ******** tornado\target\config\myTarget\config.h ********* ********************************************************** -- Change this file for your need. Configure the WDB agent so that the BDI packet driver will be used. The following lines show a possible WDB agent configuration: /* agent mode */ #undef WDB_MODE #define WDB_MODE WDB_MODE_BI /* WDB_MODE_[BI|TASK|EXTERN] */ /* agent communication paths */ #undef WDB_COMM_TYPE #define WDB_COMM_TYPE WDB_COMM_BDI ********************************************************** ********************************************************** ********** ************ ********** AGENT mode ************ ********** ************ ********************************************************** ********************************************************** ********************************************************** ******** tornado\target\config\myTarget\Makefile ********* ********************************************************** -- Add the following lines after the line HEX_FLAGS. ADDED_CFLAGS = -g MACH_EXTRA = myModule.o ********************************************************** ******** tornado\target\config\myTarget\config.h ********* ********************************************************** -- Change this file for your need. Disable the WDB agent: /* no WDB agent */ #undef INCLUDE_WDB ********************************************************** ********************************************************** ********** ************ ********** Common ************ ********** ************ ********************************************************** ********************************************************** ********************************************************** *********** \system32\ras\modem.inf ************* ********************************************************** -- To use SLIP on a Windows NT3.51 host, add the following lines: [Null Modem 115200] DEFAULTOFF=compression MAXCARRIERBPS=115200 MAXCONNECTBPS=115200 COMMAND_INIT= NoResponse COMMAND_LISTEN= NoResponse COMMAND_DIAL= NoResponse