[PATCH] Add and use kputc()

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Aug 13 14:09:50 UTC 2012


On 08/13/2012 03:59 PM, Gedare Bloom wrote:
> I don't see the code size reduction (yet). It looks like the kputc function
> wraps BSP_output_char and is replacing that function. Is kputc expected to also
> replace some putc/fputc calls somewhere?

The code size reduction is very minor.  Most processors need some extra 
operations to call a function via a pointer (= BSP_output_char).

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.





More information about the devel mailing list