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)
11 extern unsigned long rom_length
;
12 extern unsigned long memory_start
;
13 extern unsigned long memory_end
;
14 extern unsigned long _ramend
;