Browse Source

[prefix] Default to 1MB mark as fallback high memory load point

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>
tags/v1.20.1
Michael Brown 14 years ago
parent
commit
92c3202ab1
1 changed files with 1 additions and 8 deletions
  1. 1
    8
      src/arch/i386/prefix/libprefix.S

+ 1
- 8
src/arch/i386/prefix/libprefix.S View File

27
  * Temporary buffer into which to copy (or decompress) our runtime
27
  * Temporary buffer into which to copy (or decompress) our runtime
28
  * image, prior to calling get_memmap() and relocate().  We don't
28
  * image, prior to calling get_memmap() and relocate().  We don't
29
  * actually leave anything here once install() has returned.
29
  * actually leave anything here once install() has returned.
30
- *
31
- * We use the start of an even megabyte so that we don't have to worry
32
- * about the current state of the A20 line.
33
- *
34
- * We use 4MB rather than 2MB because some PXE stack / PMM BIOS
35
- * combinations are known to place data required by other UNDI ROMs
36
- * loader around the 2MB mark.
37
  */
30
  */
38
 	.globl	HIGHMEM_LOADPOINT
31
 	.globl	HIGHMEM_LOADPOINT
39
-	.equ	HIGHMEM_LOADPOINT, ( 4 << 20 )
32
+	.equ	HIGHMEM_LOADPOINT, ( 1 << 20 )
40
 
33
 
41
 /* Image compression enabled */
34
 /* Image compression enabled */
42
 #define COMPRESS 1
35
 #define COMPRESS 1

Loading…
Cancel
Save