1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <asm-generic/page.h>
6 #include <linux/types.h>
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)
13 extern unsigned long rom_length
;
14 extern unsigned long memory_start
;
15 extern unsigned long memory_end
;
16 extern unsigned long _ramend
;