Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at v4.14 19 lines 485 B view raw
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__ 13extern unsigned long rom_length; 14extern unsigned long memory_start; 15extern unsigned long memory_end; 16extern unsigned long _ramend; 17#endif 18 19#endif