summaryrefslogtreecommitdiffstats
path: root/src/Makefile.housekeeping
diff options
context:
space:
mode:
authorJoshua Oreman2009-10-06 22:12:22 +0200
committerMarty Connor2010-01-14 16:56:08 +0100
commit5736f5eb329cf9904687915194bd2005ee531064 (patch)
tree8c9a1fa1b8e483f339a7b1396bf6be7acb614421 /src/Makefile.housekeeping
parent[myri10ge] Native driver for Myricom 10Gb Ethernet NICs (diff)
downloadipxe-5736f5eb329cf9904687915194bd2005ee531064.tar.gz
ipxe-5736f5eb329cf9904687915194bd2005ee531064.tar.xz
ipxe-5736f5eb329cf9904687915194bd2005ee531064.zip
[prefix] Add .hrom prefix for a ROM that loads high under PCI3 without PMM
gPXE currently takes advantage of the feature of PCI3.0 that allows option ROMs to relocate the bulk of their code to high memory and so take up only a small amount of space in the option ROM area. Currently, the relocation can only take place if the BIOS's implementation of PMM can be made to return blocks aligned to an even megabyte, because of the A20 gate. AMI BIOSes, in particular, will not return allocations that gPXE can use. Ameliorate the situation somewhat by adding a prefix, .hrom, that works identically to .rom except in the case that PMM allocation fails. Where .rom would give up and place itself entirely in option ROM space, .hrom moves to a block (assumed free) at HIGHMEM_LOADPOINT = 4MB. This allows for the use of larger gPXE ROMs than would otherwise be possible. Because there is no way to check that the area at HIGHMEM_LOADPOINT is really free, other devices using that memory during the boot process will cause failure for gPXE, the other device, or both. In practice such conflicts will likely not occur, but this prefix should still be considered EXPERIMENTAL. Signed-off-by: Marty Connor <mdc@etherboot.org>
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r--src/Makefile.housekeeping1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index e83a3e52..63745ff8 100644
--- a/src/Makefile.housekeeping
+++ b/src/Makefile.housekeeping
@@ -830,6 +830,7 @@ endif # defined(BIN)
#
FINALISE_rom = $(MAKEROM) $(MAKEROM_FLAGS) $(TGT_MAKEROM_FLAGS) \
-i$(IDENT) -s 0 $@
+FINALISE_hrom = $(FINALISE_rom)
# Some ROMs require specific flags to be passed to makerom.pl
#