[prefix] Move flatten_real_mode to .text16.early
authorMichael Brown <mcb30@ipxe.org>
Tue, 20 Apr 2010 11:59:48 +0000 (12:59 +0100)
committerStefan Hajnoczi <stefanha@gmail.com>
Wed, 7 Jul 2010 19:14:36 +0000 (20:14 +0100)
commit56245e71943348129eae41ca25e5d907155f3c65
tree73e984cd881e16bf47cdca3f4d60dca83d33099a
parent8fda72337f812abb426b09b065fc1d486abc0b5a
[prefix] Move flatten_real_mode to .text16.early

The flatten_real_mode routine is not needed until after decompressing
.text16.early, and currently performs various contortions to
compensate for the fact that .prefix may not be writable.  Move
flatten_real_mode to .text16.early to save on (compressed) binary size
and simplify the code.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
src/arch/i386/prefix/libprefix.S