trivial warning cleanups

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5318 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2010-03-29 21:56:26 +00:00 committed by Stefan Reinauer
parent 8655412673
commit 86b6dba7ea
3 changed files with 8 additions and 6 deletions

View File

@ -7,15 +7,16 @@
/* * Destroys: Al,*/ /* * Destroys: Al,*/
/* **/ /* **/
/* ***************************************************************************/ /* ***************************************************************************/
void static void
StartTimer1(void){ StartTimer1(void)
{
outb(0x56, 0x43); outb(0x56, 0x43);
outb(0x12, 0x41); outb(0x12, 0x41);
} }
void void
SystemPreInit(void){ SystemPreInit(void)
{
/* they want a jump ... */ /* they want a jump ... */
__asm__("jmp .+2\ninvd\njmp.+2\n"); __asm__("jmp .+2\ninvd\njmp.+2\n");
StartTimer1(); StartTimer1();

View File

@ -29,7 +29,7 @@
/* * Destroys: Al,*/ /* * Destroys: Al,*/
/* **/ /* **/
/* ***************************************************************************/ /* ***************************************************************************/
void StartTimer1(void) static void StartTimer1(void)
{ {
outb(0x56, 0x43); outb(0x56, 0x43);
outb(0x12, 0x41); outb(0x12, 0x41);

View File

@ -27,8 +27,9 @@ static const unsigned char NumColAddr[] = {
0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F
}; };
void banner(const char *s) static void banner(const char *s)
{ {
/* This is so ugly. */
print_debug("==========================="); print_debug("===========================");
print_debug(s); print_debug(s);
print_debug("======================================\r\n"); print_debug("======================================\r\n");