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@3237
2b7e53f0-3cfb-0310-b3e9-
8179ed1497e1
#undef USE_TERMLIB
#include <libpayload.h>
-#include <arch/types.h>
-#include <arch/io.h>
#include <curses.h>
#include <curses.priv.h>
/* Share the color table for easy lookup */
extern unsigned char color_pairs[256];
-/* speaker.c */
-void speaker_enable(u16 freq);
-void speaker_disable(void);
-void speaker_tone(u16 freq, unsigned int duration);
-
#endif
* SUCH DAMAGE.
*/
-#include <arch/io.h>
#include <libpayload.h>
unsigned char map[2][0x57] = {
*/
#include <libpayload.h>
-#include <sysinfo.h>
#define IOBASE lib_sysinfo.ser_ioport
#include <libpayload.h>
#include <pci.h>
#include <video_console.h>
-#include <arch/io.h>
#include <arch/msr.h>
-
#include "font8x16.h"
/* This is the video mode that we're going to use for our VGA screen */
*/
#include <libpayload.h>
-#include <sysinfo.h>
#include <coreboot_tables.h>
/*
*/
#include <libpayload.h>
-#include <sysinfo.h>
/**
* This is a global structure that is used through the library - we set it
#define BYTE_ORDER BIG_ENDIAN
#endif
+#define EXIT_SUCCESS 0
+#define EXIT_FAILURE 1
+
#define RAND_MAX 0x7fffffff
/* Some NVRAM byte definitions */
*/
#include <libpayload.h>
-#include <stdarg.h>
/** Structure for specifying output methods for different printf clones. */
struct printf_spec {