blob: 83e81f8996b22c0d3185e7c61ad0e566ac11aa3a [file] [log] [blame]
Laura Abbott299878b2017-05-08 15:57:59 -07001#ifndef __ASM_SET_MEMORY_H
2#define __ASM_SET_MEMORY_H
3
4/*
5 * Functions to change memory attributes.
6 */
7int set_memory_ro(unsigned long addr, int numpages);
8int set_memory_rw(unsigned long addr, int numpages);
9int set_memory_x(unsigned long addr, int numpages);
10int set_memory_nx(unsigned long addr, int numpages);
11
12#endif