[PATCH] libcsupport: Add and use rtems_debug_putc()

Kevin Polulak kpolulak at gmail.com
Tue Aug 14 05:42:29 UTC 2012


On Mon, Aug 13, 2012 at 4:23 PM, Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> RTEMS + BSP in one name is complete nonsense.
>

You mean kinda like --enable-rtemsbsp? :P

I think keeping it kputc() would be a legitimate solution. Like Joel said,
rtems_xxx_putc() just isn't consistent. For me, what's most important is
the presence of the letter 'k'. Seeing the 'k' allows the user to make a
clear association with the word "kernel". If I'm a user and I see that
there's a printk(), then the only logical thing for me to infer is that
kputc() is the putc()-equivalent for the kernel.

(Putting in my two cents for being a total stickler about naming
conventions.)

-- 
- Kevin Polulak (soh_cah_toa)
- http://cybercrud.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20120814/a8fa7bf6/attachment-0001.html>


More information about the devel mailing list