coreboot-kgpe-d16/src/console
Joel Kitching 393c71c213 add ctype.h header
Sometimes coreboot needs to compile external code (e.g.
vboot_reference) using its own set of system header files.  When
these headers don't line up with C Standard Library, it causes
problems.

Create ctype.h header file.  Relocate ctype.h functions from
string.h into ctype.h.  Update source files which call ctype.h
functions accordingly.

Note that ctype.h still lacks five functions which are not used
in coreboot source:
  isalnum, isalpha, iscntrl, isgraph, ispunct

BUG=b:124141368
TEST=make clean && make test-abuild
BRANCH=none

Change-Id: I31b5e8af49956ec024a392a73c3c9024b9a9c194
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33525
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2019-06-24 21:15:14 +00:00
..
console.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
die.c console: Make die() and friends variadic 2019-06-11 17:24:53 +00:00
hw-debug_sink.adb console/hw-debug_sink: Do not cache state of log level 2018-06-07 16:35:20 +00:00
hw-debug_sink.ads
init.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
Kconfig soc/samsung/exynos5420: Disable BOOTBLOCK_CONSOLE 2019-01-16 11:07:11 +00:00
Makefile.inc post_code: add post code for hardware initialization failure 2019-05-22 17:44:53 +00:00
post.c post: during post_code, only call elog when enabled 2019-05-22 14:21:42 +00:00
printk.c console: Allow using vprintk() with disabled console 2019-06-11 17:29:02 +00:00
vsprintf.c src/console: Fix coding style 2018-06-04 08:48:33 +00:00
vtxprintf.c add ctype.h header 2019-06-24 21:15:14 +00:00