4k_sector: Save some bytes adding a function to set bx before read_sector
authorFrediano Ziglio <frediano.ziglio@citrix.com>
Fri, 8 Feb 2013 12:58:34 +0000 (12:58 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Mon, 11 Feb 2013 12:35:12 +0000 (12:35 +0000)
commitb681bd70ac5c478c2d450aa1db98aa9359625a7d
tree5e9d4b48c87854fc6ccd8781aa63fa95a47bed73
parent71a16643953b812d7054784c3f7f0f03cf116264
4k_sector: Save some bytes adding a function to set bx before read_sector

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@citrix.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
mbr/gptmbr.S