bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

boot.S - source question


From: Martin Baute
Subject: boot.S - source question
Date: Tue, 2 Aug 2005 05:51:30 +0200
User-agent: KMail/1.8.1

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
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]