pgtable.h 444 B

1234567891011121314151617
  1. #ifndef _ASM_CRIS_ARCH_PGTABLE_H
  2. #define _ASM_CRIS_ARCH_PGTABLE_H
  3. /* Define the kernels virtual memory area. */
  4. /* See head.S for differences between ARTPEC-3 and ETRAX FS. */
  5. #ifdef CONFIG_CRIS_MACH_ARTPEC3
  6. #define VMALLOC_START KSEG_E
  7. #define VMALLOC_END KSEG_F
  8. #else
  9. #define VMALLOC_START KSEG_D
  10. #define VMALLOC_END KSEG_E
  11. #endif
  12. #define VMALLOC_VMADDR(x) ((unsigned long)(x))
  13. #endif /* _ASM_CRIS_ARCH_PGTABLE_H */