summaryrefslogtreecommitdiff
path: root/util/extensions/legacybios/kernel/legacybios.c
blob: 08579619ef64710f558cb74175222af32906a036 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* tag: legacybios environment, executable code
 *
 * Copyright (C) 2003 Stefan Reinauer
 *
 * See the file "COPYING" for further information about
 * the copyright and warranty status of this work.
 */

#include "config.h"
#include "types.h"

void printk(const char *fmt, ...);
void cls(void);
#ifdef DEBUG_CONSOLE
int uart_init(int port, unsigned long speed);
#endif


void legacybios(ucell romstart, ucell romend)
{
#ifdef DEBUG_CONSOLE
	uart_init(SERIAL_PORT, SERIAL_SPEED);
	/* Clear the screen.  */
	cls();
#endif

#ifdef DEBUG_BOOT
	printk("LegacyBIOS started.\n");
#endif
	
	return;
}