https://github.com/torvalds/linux
Raw File
Tip revision: e67572cd2204894179d89bd7b984072f19313b03 authored by Linus Torvalds on 28 April 2024, 20:47:24 UTC
Linux 6.9-rc6
Tip revision: e67572c
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