Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1193 → Rev 1282

/demos/trunk/tracer/udp/initfile.c
36,11 → 36,11
*/
 
/*
* CVS : $Id: initfile.c,v 1.1 2002-10-28 08:10:10 pj Exp $
* CVS : $Id: initfile.c,v 1.2 2003-12-10 16:58:32 giacomo Exp $
*
* File: $File$
* Revision: $Revision: 1.1 $
* Last update: $Date: 2002-10-28 08:10:10 $
* Revision: $Revision: 1.2 $
* Last update: $Date: 2003-12-10 16:58:32 $
*/
 
#include "kernel/kern.h"
62,7 → 62,7
#include "drivers/keyb.h"
 
/*+ sysyem tick in us +*/
#define TICK 1000
#define TICK 0
 
/*+ RR tick in us +*/
#define RRTICK 10000
/demos/trunk/tracer/udp/udptrace.c
36,7 → 36,7
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* CVS : $Id: udptrace.c,v 1.3 2003-10-07 09:37:47 giacomo Exp $
* CVS : $Id: udptrace.c,v 1.4 2003-12-10 16:58:32 giacomo Exp $
*/
 
/*
46,7 → 46,6
#include <ll/i386/cons.h>
 
#include <kernel/func.h>
#include <kernel/trace.h>
 
#include <fs/bdevinit.h>
#include <fs/fsinit.h>
55,8 → 54,8
#include <drivers/keyb.h>
#include <drivers/udpip.h>
 
#include <trace/trace.h>
#include <trace/queues.h>
#include <tracer.h>
#include <queues.h>
 
#include <sys/mount.h>
#include <stddef.h>
72,8 → 71,8
UDP_ADDR local, remote;
 
/* these are the IP numbers of my home PCs ;-) */
strcpy(myipaddr, "192.168.1.2");
strcpy(toipaddr, "192.168.1.1");
strcpy(myipaddr, "192.168.82.120");
strcpy(toipaddr, "192.168.82.20");
 
clear();
 
/demos/trunk/tracer/udp/makefile
13,7 → 13,7
include $(BASE)/config/example.mk
 
udptrace:
make -f $(SUBMAKE) BASE=$(BASE) APP=udptrace INIT= OTHEROBJS=initfile.o SHARKOPT=__OLDCHAR__
make -f $(SUBMAKE) BASE=$(BASE) APP=udptrace INIT= OTHEROBJS=initfile.o OTHERINCL="-I$(BASE)/tracer/include" SHARKOPT=__OLDCHAR__