Go to the documentation of this file. 1 #ifndef _CRIS_ARCH_PAGE_H
2 #define _CRIS_ARCH_PAGE_H
8 #ifdef CONFIG_CRIS_LOW_MAP
9 #define PAGE_OFFSET KSEG_6
11 #define PAGE_OFFSET KSEG_C
19 #ifdef CONFIG_CRIS_LOW_MAP
21 #define __pa(x) ((unsigned long)(x) & 0xdfffffff)
22 #define __va(x) ((void *)((unsigned long)(x) | 0x20000000))
25 #define __pa(x) ((unsigned long)(x) & 0x7fffffff)
26 #define __va(x) ((void *)((unsigned long)(x) | 0x80000000))