]> git.proxmox.com Git - mirror_qemu.git/blob - include/qemu/mprotect.h
Merge tag 'pull-loongarch-20231221' of https://gitlab.com/gaosong/qemu into staging
[mirror_qemu.git] / include / qemu / mprotect.h
1 /*
2 * QEMU mprotect functions
3 *
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.
6 */
7 #ifndef QEMU_MPROTECT_H
8 #define QEMU_MPROTECT_H
9
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);
13
14 #endif