Laura Abbott | 299878b | 2017-05-08 15:57:59 -0700 | [diff] [blame] | 1 | #ifndef __ASM_SET_MEMORY_H |
2 | #define __ASM_SET_MEMORY_H | ||||
3 | |||||
4 | /* | ||||
5 | * Functions to change memory attributes. | ||||
6 | */ | ||||
7 | int set_memory_ro(unsigned long addr, int numpages); | ||||
8 | int set_memory_rw(unsigned long addr, int numpages); | ||||
9 | int set_memory_x(unsigned long addr, int numpages); | ||||
10 | int set_memory_nx(unsigned long addr, int numpages); | ||||
11 | |||||
12 | #endif |