[syslinux] [PATCH 2/4] 4k_sector: Save some bytes adding a function to set bx before read_sector

Matt Fleming matt at console-pimps.org
Mon Feb 11 04:28:01 PST 2013


On Fri, 08 Feb, at 12:58:34PM, Frediano Ziglio wrote:
> Mostly of the time bx was set as phdr before calling read_sector
> so add a specific function to set %bx and call read_sector
> gaining 2 bytes
> 
> Signed-off-by: Frediano Ziglio <frediano.ziglio at citrix.com>
> ---
>  mbr/gptmbr.S |   12 +++++++-----
>  1 file changed, 7 insertions(+), 5 deletions(-)

After a couple of times reviewing this, I think I've finally convinced
myself that this safe. Applied to the elflink branch.

-- 
Matt Fleming, Intel Open Source Technology Center


More information about the Syslinux mailing list