Re: [patch] tls-2.5.31-C3

Stephen Rothwell
2002-08-12T08:21:16Z

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