zephyr/lib/libc/minimal/source/stdout
Andrew Boie bc94cc1832 libc: minimal: add console system calls
The stdout console implementations for minimal libc call directly into
the various console drivers (depending on what specifc hooks are
registered) causing faults when invoked from user mode. This happens,
for example, when using printf() which eventually ends up calling
fputc().

The proper solution is to ensure privileges have been elevated before
the _stdout_hook is called. This was already done for printk().

puts() and fputs() have now been re-defined in terms of the
fputc() and fwrite() functions, which are now system calls.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2018-07-25 14:57:51 -04:00
..
fprintf.c libc: minimal: rename private macro 2017-02-04 19:22:07 +00:00
prf.c libc: minimal: Add support for %F conversion specifiers 2018-07-12 14:57:52 -05:00
sprintf.c libc: minimal: rename private macro 2017-02-04 19:22:07 +00:00
stdout_console.c libc: minimal: add console system calls 2018-07-25 14:57:51 -04:00