Re: Linux Post codes during runtime, possibly OT

H. Peter Anvin
2001-01-28T10:19:53Z

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."