[syslinux] [PATCH] core: Fix 'trackbuf' descriptor list byte length
H. Peter Anvin
hpa at zytor.com
Sun Mar 6 16:34:02 PST 2011
On 03/06/2011 04:03 PM, Ahmed S. Darwish wrote:
>
> It would've been neater, yes, but that will make a 12-byte hole between
> last trackbuf descriptor and the termination entry. Check ..
>
>>> imul di,ax,12
>>> + push di ; length of list
>>> add di,bx ; DI <- end of list
>>> - push di
>>>
>
> .. the DI pointer above, where the termination entry get written.
>
>>> ; Terminating entry...
>>> lea eax,[replace_stub] ; Entrypoint
>
OK, didn't look at the code at the moment.
-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