Re: Linux Post codes during runtime, possibly OT

H. Peter Anvin (hpa@transmeta.com)
Sun, 28 Jan 2001 02:18:19 -0800


Rogier Wolff wrote:
>
> Ok. I've thought about it some more, but I don't care enough about
> this issue to do the painstaking legwork: I don't have one of those
> POST-code indicators on port 0x80.
>
> I've made the "pause" in outb_p just a few (*) ns slower, because it
> now loads a variable before outputting the value to port 0x80. As the
> whole idea about this is "pausing", making it a bit slower shouldn't
> matter too much. I've tested it: It compiles, it boots.
>
> I'm not too familar with the syntax of the "asm" statement. So I may
> illegally be modifying the AX register. I don't care enough about this
> to figure it out right now.
>

It is; you'd have to specify "eax" as a clobber value, and that is
undesirable.

And you're still overwriting the POST value written by the BIOS.

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/