int 0x15, ah=0x88 question

S-n-e-a-k-e-r@gmx.net
Mon, 19 May 2003 12:22:07 +0200 (MEST)


Hi all,

Following code comes from arch/i386/boot/setup.S (memory detection):

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?

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.

Regards,

Andy

Ps: please cc me!

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!

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