mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:05:41 +00:00
[FREELDR] Move down the requirement of highest usable address
This fixes PXE boot in QEMU, where highest usable address is 0x9c400. svn path=/trunk/; revision=65127
This commit is contained in:
parent
d23ef58d9e
commit
a293927d33
1 changed files with 2 additions and 2 deletions
|
@ -17,14 +17,14 @@
|
|||
#define FREELDR_BASE HEX(F800)
|
||||
#define FREELDR_PE_BASE HEX(10000)
|
||||
#define DISKREADBUFFER HEX(8E000) /* Buffer to store data read in from the disk via the BIOS */
|
||||
#define MEMORY_MARGIN HEX(9E000) /* Highest usable address */
|
||||
#define MEMORY_MARGIN HEX(9C000) /* Highest usable address */
|
||||
/* 9F000- 9FFFF is reserved for the EBDA */
|
||||
#define DISKREADBUFFER_SIZE HEX(10000)
|
||||
|
||||
#define BIOSCALLBUFSEGMENT (BIOSCALLBUFFER/16) /* Buffer to store temporary data for any Int386() call */
|
||||
#define BIOSCALLBUFOFFSET HEX(0000) /* Buffer to store temporary data for any Int386() call */
|
||||
#define BIOSCALLBUFSIZE PAGE_SIZE /* max is sizeof(VESA_SVGA_INFO) = 512 */
|
||||
#define MAX_FREELDR_PE_SIZE (DISKREADBUFFER - FREELDR_PE_BASE)
|
||||
#define DISKREADBUFFER_SIZE (MEMORY_MARGIN - DISKREADBUFFER)
|
||||
|
||||
/* These addresses specify the realmode "BSS section" layout */
|
||||
#define BSS_RealModeEntry (BSS_START + 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue