Переглянути джерело

[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 роки тому
джерело
коміт
92c3202ab1
1 змінених файлів з 1 додано та 8 видалено
  1. 1
    8
      src/arch/i386/prefix/libprefix.S

+ 1
- 8
src/arch/i386/prefix/libprefix.S Переглянути файл

@@ -27,16 +27,9 @@ FILE_LICENCE ( GPL2_OR_LATER )
27 27
  * Temporary buffer into which to copy (or decompress) our runtime
28 28
  * image, prior to calling get_memmap() and relocate().  We don't
29 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 31
 	.globl	HIGHMEM_LOADPOINT
39
-	.equ	HIGHMEM_LOADPOINT, ( 4 << 20 )
32
+	.equ	HIGHMEM_LOADPOINT, ( 1 << 20 )
40 33
 
41 34
 /* Image compression enabled */
42 35
 #define COMPRESS 1

Завантаження…
Відмінити
Зберегти