page.h (a8222fd5b80c7ec83f257060670becbeea9b50b9) page.h (c62da0c35d58518ddb26ff641d2485596567fd96)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * VM ops
4 *
5 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
6 * Copyright (C) 2008-2009 PetaLogix
7 * Copyright (C) 2006 Atmark Techno, Inc.
8 * Changes for MMU support:

--- 180 unchanged lines hidden (view full) ---

189#define tovirt(rd, rs) \
190 addik rd, rs, (CONFIG_KERNEL_START - CONFIG_KERNEL_BASE_ADDR)
191#endif /* CONFIG_MMU */
192
193#define TOPHYS(addr) __virt_to_phys(addr)
194
195#ifdef CONFIG_MMU
196
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * VM ops
4 *
5 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
6 * Copyright (C) 2008-2009 PetaLogix
7 * Copyright (C) 2006 Atmark Techno, Inc.
8 * Changes for MMU support:

--- 180 unchanged lines hidden (view full) ---

189#define tovirt(rd, rs) \
190 addik rd, rs, (CONFIG_KERNEL_START - CONFIG_KERNEL_BASE_ADDR)
191#endif /* CONFIG_MMU */
192
193#define TOPHYS(addr) __virt_to_phys(addr)
194
195#ifdef CONFIG_MMU
196
197#define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \
198 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
199#endif /* CONFIG_MMU */
200
201#endif /* __KERNEL__ */
202
203#include <asm-generic/memory_model.h>
204#include <asm-generic/getorder.h>
205
206#endif /* _ASM_MICROBLAZE_PAGE_H */
197#endif /* CONFIG_MMU */
198
199#endif /* __KERNEL__ */
200
201#include <asm-generic/memory_model.h>
202#include <asm-generic/getorder.h>
203
204#endif /* _ASM_MICROBLAZE_PAGE_H */