[PATCH] Add and use kputc()

Gedare Bloom gedare at rtems.org
Mon Aug 13 14:18:21 UTC 2012


OK that makes sense and I have seen that before. I have no issue with this
change but it does "pollute" the public namespace.

On Mon, Aug 13, 2012 at 10:09 AM, Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> 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<sebastian.huber at embedded-brains.de>
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
>
>
> ______________________________**_________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/**listinfo/rtems-devel<http://www.rtems.org/mailman/listinfo/rtems-devel>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20120813/b6e74719/attachment-0001.html>


More information about the devel mailing list