[4/7] ntdll: Allow map_view() to allocate fixed memory between reserved area and non-reserved area.

Alexandre Julliard julliard at winehq.org
Mon Jul 3 12:35:00 CDT 2017


Akihiro Sagawa <sagawa.aki at gmail.com> writes:

> @@ -551,11 +551,12 @@ void wine_mmap_remove_reserved_area( void *addr, size_t size, int unmap )
>   * Check if the specified range is included in a reserved area.
>   * Returns 1 if range is fully included, 0 if range is not included
>   * at all, and -1 if it is only partially included.
> + * When returning -1, set the boundary address if the pointer is supplied.
>   *
>   * Note: the reserved areas functions are not reentrant, caller is
>   * responsible for proper locking.
>   */
> -int wine_mmap_is_in_reserved_area( void *addr, size_t size )
> +int wine_mmap_is_in_reserved_area( void *addr, size_t size, void **boundary )

libwine is supposed to be backwards compatible, you can't change its
interface.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list