mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 17:01:53 +00:00
[FREELDR] Hack AMD64 so it can boot in high mem (#8226)
Hack ReactOS AMD64 so we can boot on systems with higher ram amounts tested up to 128gb JIRA report: CORE-20265
This commit is contained in:
parent
24b0857a72
commit
83faff8706
1 changed files with 3 additions and 1 deletions
|
@ -68,7 +68,9 @@ typedef struct _FREELDR_MEMORY_DESCRIPTOR
|
|||
#define MM_PAGE_SIZE 4096
|
||||
#define MM_PAGE_MASK 0xFFF
|
||||
#define MM_PAGE_SHIFT 12
|
||||
#define MM_MAX_PAGE 0xFFFFFFFFF /* 36 bits for the PFN */
|
||||
//HACK: ReactOS AMD64 can't handle the full memory range yet CORE-20265
|
||||
//#define MM_MAX_PAGE 0xFFFFFFFFF /* 36 bits for the PFN */
|
||||
#define MM_MAX_PAGE 0x1FFFFF
|
||||
#define MM_MAX_PAGE_LOADER 0x3FFFF /* on x64 freeldr only maps 1 GB */
|
||||
|
||||
#define MM_SIZE_TO_PAGES(a) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue