[En-Nut-Discussion] Reducing memory size

Harald Kipp harald.kipp at egnite.de
Fri Sep 17 10:40:30 CEST 2004


Bill,

At 21:05 16.09.2004 -0400, you wrote:
>39cea5.gif
>
>Is there any way to reduce the amount of device buffers?  Where are the 
>buffer sizes defined?  Specifically for IF_STREAM type devices, uart0, 
>uart1, etc&.

in opposite to desktop systems, most buffering is done
in the device driver only. This avoids additional
data copying, which is a bottleneck for 8-bit systems.

devUsartAvr0 and devUsartAvr1 offer ioctrls UART_SETRXBUFSIZ
and UART_SETTXBUFSIZ.

devUart0 and devUart1 are older drivers with limited
functions and fixed buffer sizes.

Harald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 39cea5.gif
Type: image/gif
Size: 862 bytes
Desc: not available
URL: <http://lists.egnite.de/pipermail/en-nut-discussion/attachments/20040917/700523b2/attachment-0001.gif>


More information about the En-Nut-Discussion mailing list