https://github.com/torvalds/linux
Raw File
Tip revision: 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9 authored by Linus Torvalds on 23 July 2017, 23:15:17 UTC
Linux 4.13-rc2
Tip revision: 520eccd
set_memory.h
#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
back to top