zephyr/lib
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
..
base64 lib: base64: Add statement of changes 2018-03-23 13:54:48 +01:00
crc lib/crc: Add CRC32 support 2018-07-18 10:00:12 -04:00
json lib: json: Fix warning when building with newlib 2018-07-12 16:01:30 -05:00
libc libc: minimal: add console system calls 2018-07-25 14:57:51 -04:00
mempool lib: user mode compatible mempools 2018-04-05 07:03:05 -07:00
posix posix: add pthread_key and pthread_once APIs 2018-07-19 08:46:33 -04:00
rbtree lib/rbtree: Fix & document insert comparison order 2018-05-19 07:00:55 +03:00
ring_buffer lib: move ring_buffer from misc/ to lib/ 2017-12-15 20:02:01 -05:00
CMakeLists.txt kernel: thread: Move out the function _thread_entry() to lib 2018-05-15 17:48:18 +03:00
Kconfig lib: kconfig: Remove redundant 'default n' properties 2018-06-22 15:12:48 -04:00
thread_entry.c kernel: thread: Move out the function _thread_entry() to lib 2018-05-15 17:48:18 +03:00