io_uring: ensure finish_wait() is always called in __io_uring_task_cancel()
[linux/fpc-iii.git] / arch / csky / abiv1 / inc / abi / pgtable-bits.h
blobd605445aad9ad4362f51d3ad41f47707c1946a07
1 /* SPDX-License-Identifier: GPL-2.0 */
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
4 #ifndef __ASM_CSKY_PGTABLE_BITS_H
5 #define __ASM_CSKY_PGTABLE_BITS_H
7 /* implemented in software */
8 #define _PAGE_ACCESSED (1<<3)
9 #define PAGE_ACCESSED_BIT (3)
11 #define _PAGE_READ (1<<1)
12 #define _PAGE_WRITE (1<<2)
13 #define _PAGE_PRESENT (1<<0)
15 #define _PAGE_MODIFIED (1<<4)
16 #define PAGE_MODIFIED_BIT (4)
18 /* implemented in hardware */
19 #define _PAGE_GLOBAL (1<<6)
21 #define _PAGE_VALID (1<<7)
22 #define PAGE_VALID_BIT (7)
24 #define _PAGE_DIRTY (1<<8)
25 #define PAGE_DIRTY_BIT (8)
27 #define _PAGE_CACHE (3<<9)
28 #define _PAGE_UNCACHE (2<<9)
29 #define _PAGE_SO _PAGE_UNCACHE
31 #define _CACHE_MASK (7<<9)
33 #define _CACHE_CACHED (_PAGE_VALID | _PAGE_CACHE)
34 #define _CACHE_UNCACHED (_PAGE_VALID | _PAGE_UNCACHE)
36 #define HAVE_ARCH_UNMAPPED_AREA
38 #endif /* __ASM_CSKY_PGTABLE_BITS_H */