root/arch/h8300/include/asm/page.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


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

/* [<][>][^][v][top][bottom][index][help] */