Deleted Added
full compact
user.h (194498) user.h (195840)
1/*-
2 * Copyright (c) 1982, 1986, 1989, 1991, 1993
3 * The Regents of the University of California.
4 * Copyright (c) 2007 Robert N. M. Watson
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 *
31 * @(#)user.h 8.2 (Berkeley) 9/23/93
1/*-
2 * Copyright (c) 1982, 1986, 1989, 1991, 1993
3 * The Regents of the University of California.
4 * Copyright (c) 2007 Robert N. M. Watson
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 *
31 * @(#)user.h 8.2 (Berkeley) 9/23/93
32 * $FreeBSD: head/sys/sys/user.h 194498 2009-06-19 17:10:35Z brooks $
32 * $FreeBSD: head/sys/sys/user.h 195840 2009-07-24 13:50:29Z jhb $
33 */
34
35#ifndef _SYS_USER_H_
36#define _SYS_USER_H_
37
38#include <machine/pcb.h>
39#ifndef _KERNEL
40/* stuff that *used* to be included by user.h, or is now needed */

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

335 */
336#define KVME_TYPE_NONE 0
337#define KVME_TYPE_DEFAULT 1
338#define KVME_TYPE_VNODE 2
339#define KVME_TYPE_SWAP 3
340#define KVME_TYPE_DEVICE 4
341#define KVME_TYPE_PHYS 5
342#define KVME_TYPE_DEAD 6
33 */
34
35#ifndef _SYS_USER_H_
36#define _SYS_USER_H_
37
38#include <machine/pcb.h>
39#ifndef _KERNEL
40/* stuff that *used* to be included by user.h, or is now needed */

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

335 */
336#define KVME_TYPE_NONE 0
337#define KVME_TYPE_DEFAULT 1
338#define KVME_TYPE_VNODE 2
339#define KVME_TYPE_SWAP 3
340#define KVME_TYPE_DEVICE 4
341#define KVME_TYPE_PHYS 5
342#define KVME_TYPE_DEAD 6
343#define KVME_TYPE_SG 7
343#define KVME_TYPE_UNKNOWN 255
344
345#define KVME_PROT_READ 0x00000001
346#define KVME_PROT_WRITE 0x00000002
347#define KVME_PROT_EXEC 0x00000004
348
349#define KVME_FLAG_COW 0x00000001
350#define KVME_FLAG_NEEDS_COPY 0x00000002

--- 74 unchanged lines hidden ---
344#define KVME_TYPE_UNKNOWN 255
345
346#define KVME_PROT_READ 0x00000001
347#define KVME_PROT_WRITE 0x00000002
348#define KVME_PROT_EXEC 0x00000004
349
350#define KVME_FLAG_COW 0x00000001
351#define KVME_FLAG_NEEDS_COPY 0x00000002

--- 74 unchanged lines hidden ---