Attached patch moves functions out of the huge libpayload.h into headers
authorPatrick Georgi <patrick.georgi@coresystems.de>
Thu, 24 Jun 2010 11:16:10 +0000 (11:16 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Thu, 24 Jun 2010 11:16:10 +0000 (11:16 +0000)
commit980a69b8c20ad975553980ccb320bf25ff7c0b16
tree65b64bf8ac67db37bc8a868cc246ce41925c5915
parent815c47f7b458f7342195ffe99e994e2757df96c1
Attached patch moves functions out of the huge libpayload.h into headers
according to libc/posix traditions, to simplify porting applications to
payloads.

It also adds a couple of functions:
strcasecmp, strncasecmp, strcat, strtol, strspn, strcspn, strtok_r,
strtok, perror, exit, getpagesize

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5643 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
16 files changed:
payloads/libpayload/arch/i386/virtual.c
payloads/libpayload/arch/powerpc/virtual.c
payloads/libpayload/include/ctype.h [new file with mode: 0644]
payloads/libpayload/include/errno.h [new file with mode: 0644]
payloads/libpayload/include/libpayload.h
payloads/libpayload/include/pci.h
payloads/libpayload/include/stdarg.h [new file with mode: 0644]
payloads/libpayload/include/stdint.h [new file with mode: 0644]
payloads/libpayload/include/stdio.h [new file with mode: 0644]
payloads/libpayload/include/stdlib.h [new file with mode: 0644]
payloads/libpayload/include/string.h [new file with mode: 0644]
payloads/libpayload/include/sys/types.h [new file with mode: 0644]
payloads/libpayload/include/unistd.h [new file with mode: 0644]
payloads/libpayload/libc/lib.c
payloads/libpayload/libc/printf.c
payloads/libpayload/libc/string.c