page.h (498495dba268b20e8eadd7fe93c140c68b6cc9d2) page.h (c62da0c35d58518ddb26ff641d2485596567fd96)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_IA64_PAGE_H
3#define _ASM_IA64_PAGE_H
4/*
5 * Pagetable related stuff.
6 *
7 * Copyright (C) 1998, 1999, 2002 Hewlett-Packard Co
8 * David Mosberger-Tang <davidm@hpl.hp.com>

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

213
214# define __pte(x) (x)
215# define __pgd(x) (x)
216# define __pgprot(x) (x)
217#endif /* !STRICT_MM_TYPECHECKS */
218
219#define PAGE_OFFSET RGN_BASE(RGN_KERNEL)
220
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_IA64_PAGE_H
3#define _ASM_IA64_PAGE_H
4/*
5 * Pagetable related stuff.
6 *
7 * Copyright (C) 1998, 1999, 2002 Hewlett-Packard Co
8 * David Mosberger-Tang <davidm@hpl.hp.com>

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

213
214# define __pte(x) (x)
215# define __pgd(x) (x)
216# define __pgprot(x) (x)
217#endif /* !STRICT_MM_TYPECHECKS */
218
219#define PAGE_OFFSET RGN_BASE(RGN_KERNEL)
220
221#define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | \
222 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC | \
223 (((current->personality & READ_IMPLIES_EXEC) != 0) \
224 ? VM_EXEC : 0))
221#define VM_DATA_DEFAULT_FLAGS VM_DATA_FLAGS_TSK_EXEC
225
226#define GATE_ADDR RGN_BASE(RGN_GATE)
227
228/*
229 * 0xa000000000000000+2*PERCPU_PAGE_SIZE
230 * - 0xa000000000000000+3*PERCPU_PAGE_SIZE remain unmapped (guard page)
231 */
232#define KERNEL_START (GATE_ADDR+__IA64_UL_CONST(0x100000000))
233#define PERCPU_ADDR (-PERCPU_PAGE_SIZE)
234#define LOAD_OFFSET (KERNEL_START - KERNEL_TR_PAGE_SIZE)
235
236#define __HAVE_ARCH_GATE_AREA 1
237
238#endif /* _ASM_IA64_PAGE_H */
222
223#define GATE_ADDR RGN_BASE(RGN_GATE)
224
225/*
226 * 0xa000000000000000+2*PERCPU_PAGE_SIZE
227 * - 0xa000000000000000+3*PERCPU_PAGE_SIZE remain unmapped (guard page)
228 */
229#define KERNEL_START (GATE_ADDR+__IA64_UL_CONST(0x100000000))
230#define PERCPU_ADDR (-PERCPU_PAGE_SIZE)
231#define LOAD_OFFSET (KERNEL_START - KERNEL_TR_PAGE_SIZE)
232
233#define __HAVE_ARCH_GATE_AREA 1
234
235#endif /* _ASM_IA64_PAGE_H */