|
Message
From: cvs at opencores.org<cvs@o...>
Date: Mon Jan 28 03:40:56 CET 2008
Subject: [cvs-checkins] MODIFIED: mlite ...
Date: 00/08/01 28:03:40 Modified: mlite/kernel uart.c Log: Optional NO_PACKETS Revision Changes Path 1.10 mlite/kernel/uart.c http://www.opencores.org/cvsweb.shtml/mlite/kernel/uart.c.diff?r1=1.9&r2=1.10 (In the diff below, changes in quantity of whitespace are not shown.) Index: uart.c =================================================================== RCS file: /cvsroot/rhoads/mlite/kernel/uart.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -b -r1.9 -r1.10 --- uart.c 11 Jan 2008 02:09:06 -0000 1.9 +++ uart.c 28 Jan 2008 02:40:56 -0000 1.10 @@ -13,7 +13,9 @@ #include "plasma.h" #include "rtos.h" +#ifndef NO_PACKETS #define SUPPORT_DATA_PACKETS +#endif #define BUFFER_WRITE_SIZE 128 #define BUFFER_READ_SIZE 128 @@ -474,6 +476,15 @@ UartPacketOut = data; OS_InterruptMaskSet(IRQ_UART_WRITE_AVAILABLE); } +#else +void UartPacketConfig(PacketGetFunc_t PacketGetFunc, + int PacketSize, + OS_MQueue_t *mQueue) +{ (void)PacketGetFunc; (void)PacketSize; (void)mQueue; } + + +void UartPacketSend(uint8 *data, int bytes) +{ (void)data; (void)bytes; } #endif
|
 |