Re: int 0x15, ah=0x88 question

From: Dave Jones (davej@codemonkey.org.uk)
Date: Mon May 19 2003 - 08:08:20 EST


On Mon, May 19, 2003 at 12:22:07PM +0200, S-n-e-a-k-e-r@gmx.net wrote:
>
> 387 movb $0x88, %ah
> 388 int $0x15
> 389 movw %ax, (2)
>
> Why memory address 2 is used? Where else in the kernel is it used? We are in
> real mode, so (2) should be the same as %ds:(2), or not?

This code is building the entries in the zero page for use later.

> Sorry that I'm bugging the mailing list with that question but I didn't
> found the answer anywhere. So a web page, a book or something else would be also
> nice as an answer.

See Documentation/i386/zero-page.txt

                Dave

-
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/



This archive was generated by hypermail 2b29 : Fri May 23 2003 - 22:00:34 EST