does not work yet.. sorry :-( git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1119 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
		
			
				
	
	
		
			33 lines
		
	
	
		
			593 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			593 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* 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;
 | |
| }
 |