coreboot-kgpe-d16/payloads/libpayload
Uwe Hermann 14a3feb068 Fix code to allow usage of -Wall in libpayload and the sample (trivial).
This even fixes two bugs:

 - get_cpu_speed() didn't return a value.

 - The line
     win->_color - PAIR_NUMBER(0);
   should actually be
     win->_color = PAIR_NUMBER(0);

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@3182 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2008-03-20 20:46:44 +00:00
..
curses Fix code to allow usage of -Wall in libpayload and the sample (trivial). 2008-03-20 20:46:44 +00:00
drivers Fix code to allow usage of -Wall in libpayload and the sample (trivial). 2008-03-20 20:46:44 +00:00
i386 Fix code to allow usage of -Wall in libpayload and the sample (trivial). 2008-03-20 20:46:44 +00:00
include Fix code to allow usage of -Wall in libpayload and the sample (trivial). 2008-03-20 20:46:44 +00:00
libc Cosmetics, coding style fixes (trivial). 2008-03-20 19:54:59 +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 libpayload: The initial chunk of code writen by AMD 2008-03-19 23:56:58 +00:00
LICENSES libpayload: BSD solutions contributed by Uwe 2008-03-20 00:02:07 +00:00
Makefile Fix code to allow usage of -Wall in libpayload and the sample (trivial). 2008-03-20 20:46:44 +00:00
README libpayload: The initial chunk of code writen by AMD 2008-03-19 23:56:58 +00:00
libpayload.ldscript libpayload: The initial chunk of code writen by AMD 2008-03-19 23:56:58 +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.