pgtable.h (8f3a2b4a96dc014e99e1df327db1450fdbbd5e15) | pgtable.h (b91540d52a08b65eb6a2b09132e1bd54fa82754c) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Copyright (C) 2012 Regents of the University of California 4 */ 5 6#ifndef _ASM_RISCV_PGTABLE_H 7#define _ASM_RISCV_PGTABLE_H 8 --- 86 unchanged lines hidden (view full) --- 95#define _PAGE_KERNEL (_PAGE_READ \ 96 | _PAGE_WRITE \ 97 | _PAGE_PRESENT \ 98 | _PAGE_ACCESSED \ 99 | _PAGE_DIRTY) 100 101#define PAGE_KERNEL __pgprot(_PAGE_KERNEL) 102#define PAGE_KERNEL_EXEC __pgprot(_PAGE_KERNEL | _PAGE_EXEC) | 1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Copyright (C) 2012 Regents of the University of California 4 */ 5 6#ifndef _ASM_RISCV_PGTABLE_H 7#define _ASM_RISCV_PGTABLE_H 8 --- 86 unchanged lines hidden (view full) --- 95#define _PAGE_KERNEL (_PAGE_READ \ 96 | _PAGE_WRITE \ 97 | _PAGE_PRESENT \ 98 | _PAGE_ACCESSED \ 99 | _PAGE_DIRTY) 100 101#define PAGE_KERNEL __pgprot(_PAGE_KERNEL) 102#define PAGE_KERNEL_EXEC __pgprot(_PAGE_KERNEL | _PAGE_EXEC) |
103#define PAGE_KERNEL_READ __pgprot(_PAGE_KERNEL & ~_PAGE_WRITE) 104#define PAGE_KERNEL_EXEC __pgprot(_PAGE_KERNEL | _PAGE_EXEC) 105#define PAGE_KERNEL_READ_EXEC __pgprot((_PAGE_KERNEL & ~_PAGE_WRITE) \ 106 | _PAGE_EXEC) |
|
103 104#define PAGE_TABLE __pgprot(_PAGE_TABLE) 105 106/* 107 * The RISC-V ISA doesn't yet specify how to query or modify PMAs, so we can't 108 * change the properties of memory regions. 109 */ 110#define _PAGE_IOREMAP _PAGE_KERNEL --- 372 unchanged lines hidden --- | 107 108#define PAGE_TABLE __pgprot(_PAGE_TABLE) 109 110/* 111 * The RISC-V ISA doesn't yet specify how to query or modify PMAs, so we can't 112 * change the properties of memory regions. 113 */ 114#define _PAGE_IOREMAP _PAGE_KERNEL --- 372 unchanged lines hidden --- |