[FREELDR] Fix calculation of page lookup table (#761)
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 18 Aug 2018 10:16:33 +0000 (12:16 +0200)
committerGitHub <noreply@github.com>
Sat, 18 Aug 2018 10:16:33 +0000 (12:16 +0200)
commit6da93539a96b2ad1c59350a9e50c665901b7b5cd
tree9a5fd4db246af0c19599ab7cbc76130ebcb4a631
parent27c3a4d26a9f00cea3def9d9fc547ff6ea863424
[FREELDR] Fix calculation of page lookup table (#761)

On x64 we only map 1GB of pages, so adjust MM_MAX_PAGE accordingly and also respect that value when searching for the best location of the page lookup table.
CORE-11048 #resolve
boot/freeldr/freeldr/include/mm.h
boot/freeldr/freeldr/lib/mm/meminit.c