ntdll: Replace incorrect find_free_reserved_area function call.
commit1a44ef32379039f7d0d828d9d190aa94da02b1ee
authorRémi Bernon <rbernon@codeweavers.com>
Thu, 26 Dec 2019 21:27:27 +0000 (26 22:27 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 27 Dec 2019 10:11:16 +0000 (27 11:11 +0100)
treeb8924be4edbcabb9000573c4428e24096c26acf0
parentcec83fede4599b6dc846e32e1de23c55df8de2a7
ntdll: Replace incorrect find_free_reserved_area function call.

This introduces map_free_area function which tries mapping the expected
free areas until it finds one that succeeds. It now also works for
memory regions outside of the reserved region, but could probably be
improved.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/ntdll/virtual.c