• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef _H8300_PAGE_H
2 #define _H8300_PAGE_H
3 
4 #include <asm-generic/page.h>
5 #include <linux/types.h>
6 
7 #define MAP_NR(addr) (((uintptr_t)(addr)-PAGE_OFFSET) >> PAGE_SHIFT)
8 #define VM_DATA_DEFAULT_FLAGS	(VM_READ | VM_WRITE | VM_EXEC | \
9 				 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
10 
11 #ifndef __ASSEMBLY__
12 extern unsigned long rom_length;
13 extern unsigned long memory_start;
14 extern unsigned long memory_end;
15 extern unsigned long _ramend;
16 #endif
17 
18 #endif
19