Re: Problems with to large of a kernel

H. Peter Anvin (hpa@transmeta.com)
2 Dec 1998 06:33:21 GMT


Followup to: <Pine.LNX.3.95.981201144105.6994A-100000@chaos.analogic.com>
By author: "Richard B. Johnson" <root@chaos.analogic.com>
In newsgroup: linux.dev.kernel
>
> BzImage kernels use the BIOS INT 0x15 'memory copy' function to put
> the kernel at its final resting place of offset 1 megabyte which
> is unreachable in the 16-bit segment:offset world. Since this function
> is enabled and tested by the BIOS as part of the memory check, it is
> not too likely that it is broken. There was a problem with stuck
> A-20 bits in early '386 machines that used the keyboard controller
> to enable it. Basically, you had to wait a few microseconds to have
> it take affect, since the keyboard controller is really its own CPU
> with embeded software that takes time to do its thing. A BIOS would
> certainly "know" the time to wait, so it would be embeded in the
> INT 0x15 code. The problem occurs when a user program tries to enable
> the bit and expects an instant response.
>

Ah, yes; if the INT 15h memory copy function wasn't so bloody broken
it might actually be usable. *Sigh* It was of course too much IQ
required for anyone to have defined an A20 on/off BIOS function.

-hpa

-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bahá'í -- ask me about it or see http://www.bahai.org/
   "To love another person is to see the face of God." -- Les Misérables

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/