https://github.com/torvalds/linux
Raw File
Tip revision: 841c35169323cd833294798e58b9bf63fa4fa1de authored by Linus Torvalds on 11 February 2024, 20:18:13 UTC
Linux 6.8-rc4
Tip revision: 841c351
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