[LinuxBIOS] No console, yet... Ideas?

Ronald G Minnich rminnich at lanl.gov
Tue Jan 24 01:06:24 CET 2006

Adam Talbot wrote:
> I am missing an inclue or define statment...
oh, that code I sent is crap.

I did not know you wanted the full thing.

#include <stdio.h>
#include <asm/io.h>

	uchar c;

	c = inb(0x2e);
	printf("c %02x\n", c);

be sure to cc -O2 or the damned asm junk won't get inlined, and you'll 
get link-time errors.


More information about the coreboot mailing list