mman.h (254603) | mman.h (255426) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)mman.h 8.2 (Berkeley) 1/9/95 | 1/*- 2 * Copyright (c) 1982, 1986, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)mman.h 8.2 (Berkeley) 1/9/95 |
30 * $FreeBSD: head/sys/sys/mman.h 254603 2013-08-21 17:45:00Z kib $ | 30 * $FreeBSD: head/sys/sys/mman.h 255426 2013-09-09 18:11:59Z jhb $ |
31 */ 32 33#ifndef _SYS_MMAN_H_ 34#define _SYS_MMAN_H_ 35 36#include <sys/cdefs.h> 37#include <sys/_types.h> 38 --- 47 unchanged lines hidden (view full) --- 86#define MAP_ANONYMOUS MAP_ANON /* For compatibility. */ 87#endif /* !_KERNEL */ 88 89/* 90 * Extended flags 91 */ 92#define MAP_NOCORE 0x00020000 /* dont include these pages in a coredump */ 93#define MAP_PREFAULT_READ 0x00040000 /* prefault mapping for reading */ | 31 */ 32 33#ifndef _SYS_MMAN_H_ 34#define _SYS_MMAN_H_ 35 36#include <sys/cdefs.h> 37#include <sys/_types.h> 38 --- 47 unchanged lines hidden (view full) --- 86#define MAP_ANONYMOUS MAP_ANON /* For compatibility. */ 87#endif /* !_KERNEL */ 88 89/* 90 * Extended flags 91 */ 92#define MAP_NOCORE 0x00020000 /* dont include these pages in a coredump */ 93#define MAP_PREFAULT_READ 0x00040000 /* prefault mapping for reading */ |
94#ifdef __LP64__ 95#define MAP_32BIT 0x00080000 /* map in the low 2GB of address space */ 96#endif |
|
94 95/* 96 * Request specific alignment (n == log2 of the desired alignment). 97 * 98 * MAP_ALIGNED_SUPER requests optimal superpage alignment, but does 99 * not enforce a specific alignment. 100 */ 101#define MAP_ALIGNED(n) ((n) << MAP_ALIGNMENT_SHIFT) --- 168 unchanged lines hidden --- | 97 98/* 99 * Request specific alignment (n == log2 of the desired alignment). 100 * 101 * MAP_ALIGNED_SUPER requests optimal superpage alignment, but does 102 * not enforce a specific alignment. 103 */ 104#define MAP_ALIGNED(n) ((n) << MAP_ALIGNMENT_SHIFT) --- 168 unchanged lines hidden --- |