xref: /kvm-unit-tests/lib/s390x/mmu.h (revision 728e71ee457384eb1cf2d5111d1e4329498581db)
1 /*
2  * s390x mmu functions
3  *
4  * Copyright (c) 2018 IBM Corp
5  *
6  * Authors:
7  *	Janosch Frank <frankja@de.ibm.com>
8  *
9  * This code is free software; you can redistribute it and/or modify it
10  * under the terms of the GNU Library General Public License version 2.
11  */
12 #ifndef _ASMS390X_MMU_H_
13 #define _ASMS390X_MMU_H_
14 
15 void protect_page(void *vaddr, unsigned long prot);
16 void protect_range(void *start, unsigned long len, unsigned long prot);
17 void unprotect_page(void *vaddr, unsigned long prot);
18 void unprotect_range(void *start, unsigned long len, unsigned long prot);
19 
20 #endif /* _ASMS390X_MMU_H_ */
21