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

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


Adam Talbot wrote:
> -Ron
> Little bug fix's and its working
> # ./a.out
> c ff
> 
> #include <stdio.h>
> #include <asm/io.h>
> 
> main(){
>        unsigned char c;
>        ioperm(0x2E, 1, 1);


warning to all: iopl(3) is safer since on some arch's (most recently 
x86_64) ioperm won't do the right thing. just fyi.

ron




More information about the coreboot mailing list