]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[prefix] Move flatten_real_mode to .text16.early
authorMichael Brown <mcb30@ipxe.org>
Tue, 20 Apr 2010 11:59:48 +0000 (12:59 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 20 Apr 2010 12:04:24 +0000 (13:04 +0100)
commitd931d4bd9cf3a5eba21472c09d6c316efc36bab9
tree3047d21b3edfffee3f07126fccd98f17c80b9831
parent9068249e24acc7342cd913b70745f5449b86b664
[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>
src/arch/i386/prefix/libprefix.S