[FREELDR]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 14 Apr 2013 18:41:54 +0000 (18:41 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 14 Apr 2013 18:41:54 +0000 (18:41 +0000)
commit6090c3ee06fefa4db1d6af5c75a9c4b4b54b10f8
tree09426596bb54ddb66d14c9a53e5d65197357f518
parent291e52f39ef7144874ab5d22e172b2fe1bfd6676
[FREELDR]
When generating the memory descriptor list, do not map the pages at the same time, since that requires allocating page tables, which will alter the state of pages, that might already have been processed. Instead map everything beforehand. This has not had any impact on x86, since the pfn database initialization code mindlessly adds all mapped pages as valid, even if they were reported as free by the OS loader. But proper Mm code does not necessarily do this.

svn path=/trunk/; revision=58760
reactos/boot/freeldr/freeldr/arch/amd64/winldr.c
reactos/boot/freeldr/freeldr/windows/wlmemory.c