]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[prefix] Default to 1MB mark as fallback high memory load point
authorMichael Brown <mcb30@ipxe.org>
Tue, 20 Apr 2010 19:44:23 +0000 (20:44 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 20 Apr 2010 20:00:49 +0000 (21:00 +0100)
Now that we can use odd megabytes, there is no particular need to use
an even megabyte as the fallback temporary load point.

Note that the old warnings about avoiding 2MB pre-date our ability to
cooperate with other PXE ROMs by using PMM.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/prefix/libprefix.S

index 6a23a96cc9e23b84d859bc392d3577a47f8bd87d..bcf468587c0c550e697a6f0bd6ff992a7d44e85b 100644 (file)
@@ -27,16 +27,9 @@ FILE_LICENCE ( GPL2_OR_LATER )
  * Temporary buffer into which to copy (or decompress) our runtime
  * image, prior to calling get_memmap() and relocate().  We don't
  * actually leave anything here once install() has returned.
- *
- * We use the start of an even megabyte so that we don't have to worry
- * about the current state of the A20 line.
- *
- * We use 4MB rather than 2MB because some PXE stack / PMM BIOS
- * combinations are known to place data required by other UNDI ROMs
- * loader around the 2MB mark.
  */
        .globl  HIGHMEM_LOADPOINT
-       .equ    HIGHMEM_LOADPOINT, ( 4 << 20 )
+       .equ    HIGHMEM_LOADPOINT, ( 1 << 20 )
 
 /* Image compression enabled */
 #define COMPRESS 1