https://github.com/torvalds/linux
Raw File
Tip revision: 79a3aaa7b82e3106be97842dedfd8429248896e6 authored by Linus Torvalds on 31 March 2019, 21:39:29 UTC
Linux 5.1-rc3
Tip revision: 79a3aaa
set_memory.h
/* SPDX-License-Identifier: GPL-2.0 */
#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