[i386] Free allocated base memory on exit, if possible
authorMichael Brown <mcb30@etherboot.org>
Tue, 18 Nov 2008 19:43:13 +0000 (19:43 +0000)
committerMichael Brown <mcb30@etherboot.org>
Tue, 18 Nov 2008 19:43:13 +0000 (19:43 +0000)
commit0a8a17e66944da38de3cf3c1bd1d08aef3a2f5ad
tree876afe5d4b1c9073c8c0b964bdc094b48300b1f2
parent85f82f09e924ea035e08ff5a779ade8642f803d3
[i386] Free allocated base memory on exit, if possible

Code paths that automatically allocate memory from the FBMS at 40:13
should also free it, if possible.

Freeing this memory will not be possible if either

  1. The FBMS has been modified since our allocation, or

  2. We have not been able to unhook one or more BIOS interrupt vectors.
src/arch/i386/include/biosint.h
src/arch/i386/interface/pcbios/biosint.c
src/arch/i386/prefix/dskprefix.S
src/arch/i386/prefix/hdprefix.S
src/arch/i386/prefix/libprefix.S
src/arch/i386/prefix/lkrnprefix.S
src/arch/i386/prefix/nbiprefix.S
src/arch/i386/prefix/pxeprefix.S
src/arch/i386/prefix/romprefix.S