You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
323 B
12 lines
323 B
#ifndef __ASM_SET_MEMORY_H
|
|
#define __ASM_SET_MEMORY_H
|
|
|
|
/*
|
|
* Functions to change memory attributes.
|
|
*/
|
|
int set_memory_ro(unsigned long addr, int numpages);
|
|
int set_memory_rw(unsigned long addr, int numpages);
|
|
int set_memory_x(unsigned long addr, int numpages);
|
|
int set_memory_nx(unsigned long addr, int numpages);
|
|
|
|
#endif
|
|
|