- Update console.c to have non-inline versions of functions

- Add exception.c
  Sorry for not including these ealier.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1728 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Eric Biederman
2004-10-30 22:59:35 +00:00
parent f8a2dddb57
commit 432aa6a255
2 changed files with 506 additions and 0 deletions

View File

@ -111,6 +111,18 @@ static void print_debug_hex8(unsigned char value) { __console_tx_hex8(BIOS_DEBUG
static void print_debug_hex16(unsigned short value){ __console_tx_hex16(BIOS_DEBUG, value); }
static void print_debug_hex32(unsigned int value) { __console_tx_hex32(BIOS_DEBUG, value); }
static void print_debug(const char *str) { __console_tx_string(BIOS_DEBUG, str); }
static void print_debug_hex8_(unsigned char value) __attribute__((noinline))
{
print_debug_hex8(value);
}
static void print_debug_hex32_(unsigned int value) __attribute__((noinline))
{
print_debug_hex32(value);
}
static void print_debug_(const char *str) __attribute__((noinline))
{
print_debug(str);
}
static void print_spew_char(unsigned char byte) { __console_tx_char(BIOS_SPEW, byte); }
static void print_spew_hex8(unsigned char value) { __console_tx_hex8(BIOS_SPEW, value); }