Re: [patch] tls-2.5.31-C3

Stephen Rothwell (sfr@canb.auug.org.au)
Mon, 12 Aug 2002 18:23:25 +1000


On Mon, 12 Aug 2002 12:07:19 +0200 (CEST) Ingo Molnar <mingo@elte.hu> wrote:
>
> you can save/restore 0x40 in kernel-space if you need to no problem.

I guess I could around every BIOS call ...

Also, Alan (Cox) will say that's OK until he does APM on SMP on broken
BIOS's :-)

We could also just say that we no longer support those broken BIOS's ...

> so you are using the kernel's GDT in real mode as well?

No. The problem is that there are some BIOS's that contain code that (even
though they are called in protected mode) load 0x40 into ds and expect to
be able to reference stuff ... Causes really interesting OOPSs :-(

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/