commit | b07e7c158cf9309d511b4b9ab62530ca9ca836c5 | [log] [tgz] |
---|---|---|
author | Matt Fleming <matt.fleming@intel.com> | Fri Jan 24 15:56:50 2014 +0000 |
committer | Matt Fleming <matt.fleming@intel.com> | Fri Jan 24 15:56:50 2014 +0000 |
tree | 24f9471b7c73d5161324acbc04711ed96d5c0361 | |
parent | d8ec26d7f8287f5788a494f56e8814210f0e64be [diff] |
x86/efi: Fix code32_start value in EFI boot stub The correct value for code32_start isn't image->image_base because that address points to the real mode sectors, and so doesn't point to startup_32. Instead compute the actual address of startup_32 in efi_pe_entry() and assign to code32_start. Signed-off-by: Matt Fleming <matt.fleming@intel.com>