[LinuxBIOS] No console, yet... Ideas?
talbotx at comcast.net
Tue Jan 24 01:44:52 CET 2006
Just a guess. uchar = unsigned char???
Ronald G Minnich wrote:
> 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