2 * QEMU mprotect functions
4 * This work is licensed under the terms of the GNU GPL, version 2 or later.
5 * See the COPYING file in the top-level directory.
7 #ifndef QEMU_MPROTECT_H
8 #define QEMU_MPROTECT_H
10 int qemu_mprotect_rw(void *addr
, size_t size
);
11 int qemu_mprotect_rwx(void *addr
, size_t size
);
12 int qemu_mprotect_none(void *addr
, size_t size
);