diff options
author | Eric Biederman <ebiederm@xmission.com> | 2004-10-30 22:59:35 +0000 |
---|---|---|
committer | Eric Biederman <ebiederm@xmission.com> | 2004-10-30 22:59:35 +0000 |
commit | 432aa6a2550e0d2625c4d08cd3d438447abb86a8 (patch) | |
tree | 60a68b0bc593b7046e04ca61f497649374756786 /src/arch/i386/lib/console.c | |
parent | f8a2dddb573faef41ad43ee111d91d4c5259ad59 (diff) | |
download | coreboot-432aa6a2550e0d2625c4d08cd3d438447abb86a8.tar.xz |
- 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
Diffstat (limited to 'src/arch/i386/lib/console.c')
-rw-r--r-- | src/arch/i386/lib/console.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/arch/i386/lib/console.c b/src/arch/i386/lib/console.c index 76f4f16e01..d9e06e0f6b 100644 --- a/src/arch/i386/lib/console.c +++ b/src/arch/i386/lib/console.c @@ -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); } |