diff options
| author | Michael Brown | 2013-03-08 14:26:22 +0100 |
|---|---|---|
| committer | Michael Brown | 2013-03-08 18:42:24 +0100 |
| commit | 0d4a760ffc6561ea69cddcba47c34e98147d30f4 (patch) | |
| tree | 74bd93bc7a6e56cd9750bff37700dfa705585701 /src/include/ipxe | |
| parent | [nbiprefix] Set up real-mode stack before jumping to .text16 (diff) | |
| download | ipxe-0d4a760ffc6561ea69cddcba47c34e98147d30f4.tar.gz ipxe-0d4a760ffc6561ea69cddcba47c34e98147d30f4.tar.xz ipxe-0d4a760ffc6561ea69cddcba47c34e98147d30f4.zip | |
[prefix] Use %cs as implicit parameter to uninstall()
romprefix.S currently calls uninstall() with an invalid value in %ax.
Consequently, base memory is not freed after a ROM boot attempt (or
after entering iPXE during POST).
The uninstall() function is physically present in .text16, and so can
use %cs to determine the .text16 segment address. The .data16 segment
address is not required, since uninstall() is called only by code
paths which set up .data16 to immediately follow .text16.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe')
0 files changed, 0 insertions, 0 deletions
