[PATCH 0/6] MR265: kernelbase: Implement PrefetchVirtualMemory.

Etaash Mathamsetty (@etaash.mathamsetty) wine at gitlab.winehq.org
Wed Jun 22 17:18:49 CDT 2022


Etaash Mathamsetty (@etaash.mathamsetty) commented about dlls/ntdll/unix/virtual.c:
>  }
>  
>  
> +static NTSTATUS prefetch_memory( HANDLE process, ULONG_PTR count,
> +                                 PMEMORY_RANGE_ENTRY addresses, ULONG flags )
> +{
> +    ULONG_PTR i;
> +    PVOID base;
> +    SIZE_T size;
> +    static unsigned int once;
> +
> +    if (!once++)
what exactly is this for?

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/265#note_2521



More information about the wine-devel mailing list