Hi there,

I might prove my novice-ness with ASM coding by
asking this question, but...

...I read the grub2/boot/i386/pc/boot.S sources, and
one thing really has me wondering. Following the
control flow of it, assuming a LBA-capable hard
drive, brings me to:

lba_mode:
        /* save the total number of sectors */
        movl    0x10(%si), %ecx

The thing is, unless I'm missing something, at this
point %si is pointing to the zero byte at the end
of notification_message... so where is %si set to
a reasonable value, which I have missed?

I just want to understand how the stage1 works...

Regards,
--
Martin Baute
[EMAIL PROTECTED]


_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to