revert between 56095 -> 55830 in arch
[AROS.git] / arch / all-mingw32 / kernel / host_mmu.c
blob99bb5e2a5691ce024a244de5fffd92f806cb5515
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <windows.h>
8 #include "host_intern.h"
11 * A simple glue code. I'm too lazy to import kernel32.dll via hostlib.resource
12 * just for one function.
15 unsigned int __declspec(dllexport) __aros core_protect(void *addr, unsigned int len, unsigned int prot)
17 DWORD oldprot;
19 return VirtualProtect(addr, len, prot, &oldprot);