summaryrefslogtreecommitdiff
path: root/src/console/printk.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-10-24 13:06:04 +0000
committerStefan Reinauer <stepan@openbios.org>2009-10-24 13:06:04 +0000
commit52fc6b12cb458a93ba1eeac4082f4e7f574cdafc (patch)
treeb776758d0d9deb8947f46a248a31b33f9f9d1a5b /src/console/printk.c
parentb53bed15677e8bd97f58f7f5d847f1029ddaa41b (diff)
re-order console output functions, add proper prototypes,
drop claim that our files were blatantly copied, because they have been rewritten a very long time ago. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4837 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/console/printk.c')
-rw-r--r--src/console/printk.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/console/printk.c b/src/console/printk.c
index f4157a7b00..3b1ae24ec1 100644
--- a/src/console/printk.c
+++ b/src/console/printk.c
@@ -7,6 +7,7 @@
#include <stdarg.h>
#include <smp/spinlock.h>
+#include <console/vtxprintf.h>
#include <console/console.h>
/* printk's without a loglevel use this.. */
@@ -22,9 +23,6 @@ int default_message_loglevel = DEFAULT_MESSAGE_LOGLEVEL;
int minimum_console_loglevel = MINIMUM_CONSOLE_LOGLEVEL;
int default_console_loglevel = CONFIG_DEFAULT_CONSOLE_LOGLEVEL;
-void display(char*);
-extern int vtxprintf(void (*)(unsigned char), const char *, va_list);
-
static spinlock_t console_lock = SPIN_LOCK_UNLOCKED;
int do_printk(int msg_level, const char *fmt, ...)