Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at f2aeea57504cbbc58da3c59b939fc16150087648 13 lines 362 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __ASM_SET_MEMORY_H 3#define __ASM_SET_MEMORY_H 4 5/* 6 * Functions to change memory attributes. 7 */ 8int set_memory_ro(unsigned long addr, int numpages); 9int set_memory_rw(unsigned long addr, int numpages); 10int set_memory_x(unsigned long addr, int numpages); 11int set_memory_nx(unsigned long addr, int numpages); 12 13#endif