user.h (260402) | user.h (262228) |
---|---|
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: stable/10/sys/sys/user.h 260402 2014-01-07 19:46:17Z pjd $ | 32 * $FreeBSD: stable/10/sys/sys/user.h 262228 2014-02-19 19:11:14Z 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 */ --- 368 unchanged lines hidden (view full) --- 409#define KVME_TYPE_NONE 0 410#define KVME_TYPE_DEFAULT 1 411#define KVME_TYPE_VNODE 2 412#define KVME_TYPE_SWAP 3 413#define KVME_TYPE_DEVICE 4 414#define KVME_TYPE_PHYS 5 415#define KVME_TYPE_DEAD 6 416#define KVME_TYPE_SG 7 | 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 */ --- 368 unchanged lines hidden (view full) --- 409#define KVME_TYPE_NONE 0 410#define KVME_TYPE_DEFAULT 1 411#define KVME_TYPE_VNODE 2 412#define KVME_TYPE_SWAP 3 413#define KVME_TYPE_DEVICE 4 414#define KVME_TYPE_PHYS 5 415#define KVME_TYPE_DEAD 6 416#define KVME_TYPE_SG 7 |
417#define KVME_TYPE_MGTDEVICE 8 |
|
417#define KVME_TYPE_UNKNOWN 255 418 419#define KVME_PROT_READ 0x00000001 420#define KVME_PROT_WRITE 0x00000002 421#define KVME_PROT_EXEC 0x00000004 422 423#define KVME_FLAG_COW 0x00000001 424#define KVME_FLAG_NEEDS_COPY 0x00000002 --- 111 unchanged lines hidden --- | 418#define KVME_TYPE_UNKNOWN 255 419 420#define KVME_PROT_READ 0x00000001 421#define KVME_PROT_WRITE 0x00000002 422#define KVME_PROT_EXEC 0x00000004 423 424#define KVME_FLAG_COW 0x00000001 425#define KVME_FLAG_NEEDS_COPY 0x00000002 --- 111 unchanged lines hidden --- |