disk_cache: move index mmap into OS specific helper
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 31 Jul 2020 04:23:56 +0000 (14:23 +1000)
committerMarge Bot <eric+marge@anholt.net>
Fri, 11 Sep 2020 06:03:58 +0000 (06:03 +0000)
commit889356e731e35275af29a14fb91939f2a30de93e
tree94f9b10a70ab25900ee798e8951e972f273b0fc5
parent62c43391183888e9b595292233fe9d22b0e8d488
disk_cache: move index mmap into OS specific helper

This will make windows support easier to add in future.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6197>
src/util/disk_cache.c
src/util/disk_cache_os.c
src/util/disk_cache_os.h