pgtable.h (728d90bdc9e480dc93913e59a0aa3c896c7aa697) | pgtable.h (0055f67b596c3a8963192a42e25797b0e7fc0e92) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. 3 4#ifndef __ASM_CSKY_PGTABLE_H 5#define __ASM_CSKY_PGTABLE_H 6 7#include <asm/fixmap.h> 8#include <asm/addrspace.h> --- 72 unchanged lines hidden (view full) --- 81 _CACHE_CACHED) 82#define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | _CACHE_CACHED) 83#define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | _CACHE_CACHED) 84#define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \ 85 _PAGE_GLOBAL | _CACHE_CACHED) 86#define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 87 _CACHE_CACHED) 88 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. 3 4#ifndef __ASM_CSKY_PGTABLE_H 5#define __ASM_CSKY_PGTABLE_H 6 7#include <asm/fixmap.h> 8#include <asm/addrspace.h> --- 72 unchanged lines hidden (view full) --- 81 _CACHE_CACHED) 82#define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | _CACHE_CACHED) 83#define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | _CACHE_CACHED) 84#define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \ 85 _PAGE_GLOBAL | _CACHE_CACHED) 86#define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 87 _CACHE_CACHED) 88 |
89#define _PAGE_IOREMAP \ 90 (_PAGE_PRESENT | __READABLE | __WRITEABLE | _PAGE_GLOBAL | \ 91 _CACHE_UNCACHED | _PAGE_SO) 92 |
|
89#define __P000 PAGE_NONE 90#define __P001 PAGE_READONLY 91#define __P010 PAGE_COPY 92#define __P011 PAGE_COPY 93#define __P100 PAGE_READONLY 94#define __P101 PAGE_READONLY 95#define __P110 PAGE_COPY 96#define __P111 PAGE_COPY --- 218 unchanged lines hidden --- | 93#define __P000 PAGE_NONE 94#define __P001 PAGE_READONLY 95#define __P010 PAGE_COPY 96#define __P011 PAGE_COPY 97#define __P100 PAGE_READONLY 98#define __P101 PAGE_READONLY 99#define __P110 PAGE_COPY 100#define __P111 PAGE_COPY --- 218 unchanged lines hidden --- |