[syslinux] [PATCH] memdisk: "safe hook" and mBFT
H. Peter Anvin
hpa at zytor.com
Sun Dec 6 21:08:05 PST 2009
On 12/06/2009 07:46 PM, Shao Miller wrote:
> H. Peter Anvin wrote:
>>
>> On 12/06/2009 05:15 PM, Shao Miller wrote:
>> > @@ -117,13 +117,33 @@
>> > section .text
>> > ; These pointers are used by the installer and
>> > ; must be first in the binary
>> > -Pointers: dw Int13Start
>> > +Pointers: dw SafeHook
>>
>> This pointer is part of the documentation; we really shouldn't change
>> it. If we need another pointer we can just add it -- it is only two
>> bytes.
>>
>
> In this particular instance, the "safe hook standard" (if you can call
> it that) wants the structure to reside at exactly the hook's entry
> point. I simply did this because we install based on this field. If
> you're suggesting an additional change to setup.c, I can do that.
>
Nevermind... I missed the fact that the "safe hook" means that you have
to point INT 13h at an otherwise-unnecessary jump, and so entry point is
the safe hook address.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
More information about the Syslinux
mailing list