Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2dc1c40c authored by Jesper Nilsson's avatar Jesper Nilsson
Browse files

CRIS: Pagetable for ARTPEC-3

parent 32e7a8ba
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -2,8 +2,16 @@
#define _ASM_CRIS_ARCH_PGTABLE_H
#define _ASM_CRIS_ARCH_PGTABLE_H


/* Define the kernels virtual memory area. */
/* Define the kernels virtual memory area. */

/* See head.S for differences between ARTPEC-3 and ETRAX FS. */
#ifdef CONFIG_CRIS_MACH_ARTPEC3
#define VMALLOC_START          KSEG_E
#define VMALLOC_END            KSEG_F
#else
#define VMALLOC_START		KSEG_D
#define VMALLOC_START		KSEG_D
#define VMALLOC_END		KSEG_E
#define VMALLOC_END		KSEG_E
#endif

#define VMALLOC_VMADDR(x)	((unsigned long)(x))
#define VMALLOC_VMADDR(x)	((unsigned long)(x))


#endif /* _ASM_CRIS_ARCH_PGTABLE_H */
#endif /* _ASM_CRIS_ARCH_PGTABLE_H */