summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/interface/pcbios/biosint.c
diff options
context:
space:
mode:
authorMichael Brown2008-11-18 20:43:13 +0100
committerMichael Brown2008-11-18 20:43:13 +0100
commit0a8a17e66944da38de3cf3c1bd1d08aef3a2f5ad (patch)
tree876afe5d4b1c9073c8c0b964bdc094b48300b1f2 /src/arch/i386/interface/pcbios/biosint.c
parent[r8169] New rtl8169 family driver (diff)
downloadipxe-0a8a17e66944da38de3cf3c1bd1d08aef3a2f5ad.tar.gz
ipxe-0a8a17e66944da38de3cf3c1bd1d08aef3a2f5ad.tar.xz
ipxe-0a8a17e66944da38de3cf3c1bd1d08aef3a2f5ad.zip
[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.
Diffstat (limited to 'src/arch/i386/interface/pcbios/biosint.c')
-rw-r--r--src/arch/i386/interface/pcbios/biosint.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/arch/i386/interface/pcbios/biosint.c b/src/arch/i386/interface/pcbios/biosint.c
index 8ef2d7ab2..1306f9186 100644
--- a/src/arch/i386/interface/pcbios/biosint.c
+++ b/src/arch/i386/interface/pcbios/biosint.c
@@ -8,17 +8,6 @@
*/
/**
- * Hooked interrupt count
- *
- * At exit, after unhooking all possible interrupts, this counter
- * should be examined. If it is non-zero, it means that we failed to
- * unhook at least one interrupt vector, and so must not free up the
- * memory we are using. (Note that this also implies that we should
- * re-hook INT 15 in order to hide ourselves from the memory map).
- */
-int hooked_bios_interrupts = 0;
-
-/**
* Hook INT vector
*
* @v interrupt INT number