lkml.org 
[lkml]   [2003]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: int 0x15, ah=0x88 question
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/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.038 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site