blob: f5095faa3bfa7d43b6dd90e0ace4284e910fa7f4 [file] [log] [blame] [edit]
/*
* s390x mmu functions
*
* Copyright (c) 2018 IBM Corp
*
* Authors:
* Janosch Frank <frankja@de.ibm.com>
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU Library General Public License version 2.
*/
#ifndef _ASMS390X_MMU_H_
#define _ASMS390X_MMU_H_
void protect_page(void *vaddr, unsigned long prot);
void protect_range(void *start, unsigned long len, unsigned long prot);
void unprotect_page(void *vaddr, unsigned long prot);
void unprotect_range(void *start, unsigned long len, unsigned long prot);
#endif /* _ASMS390X_MMU_H_ */