coreboot-kgpe-d16/payloads/libpayload
Uwe Hermann 1bee6f9b9c Add BIN2HEX and HEX2BIN macros (trivial).
They're generally useful for lots of stuff, but especially for converting
to/from the compact 160 bit (20 byte) representation of SHA-1 hashes to
the "hex" representation (same as 'sha1sum' output), which is 40 bytes long.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3213 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2008-04-04 13:16:33 +00:00
..
crypto Add a SHA-1 implementation to libpayload. 2008-04-03 23:01:23 +00:00
curses Fix the NVRAM access functions to work correctly for the 2008-03-31 20:21:49 +00:00
drivers Fix the NVRAM access functions to work correctly for the 2008-03-31 20:21:49 +00:00
i386 Libpayload fixes to prevent triple-faults when running in QEMU. 2008-03-31 21:02:29 +00:00
include Add BIN2HEX and HEX2BIN macros (trivial). 2008-04-04 13:16:33 +00:00
libc Add missing snprintf() to libc/printf.c (trivial). 2008-04-02 12:35:45 +00:00
sample Fix code to allow usage of -Wall in libpayload and the sample (trivial). 2008-03-20 20:46:44 +00:00
util/kconfig Change kconfig references from 'buildrom' to 'libpayload'. 2008-03-20 01:58:08 +00:00
Config.in Fix the NVRAM access functions to work correctly for the 2008-03-31 20:21:49 +00:00
LICENSES Add a SHA-1 implementation to libpayload. 2008-04-03 23:01:23 +00:00
Makefile Add a SHA-1 implementation to libpayload. 2008-04-03 23:01:23 +00:00
README libpayload: The initial chunk of code writen by AMD 2008-03-19 23:56:58 +00:00
libpayload.ldscript Cosmetics, fix typos (trivial). 2008-03-21 18:37:23 +00:00

README

This is libpayload, a minimal library to support standalone payloads
that can be booted with firmware like coreboot.  It handles the setup
code, and provides common C library symbols such as malloc() and
printf().

Please see the sample/ directory for an example of the payload in
action.