vm.h (194766) | vm.h (195033) |
---|---|
1/*- 2 * Copyright (c) 1991, 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 --- 41 unchanged lines hidden (view full) --- 50 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 51 * School of Computer Science 52 * Carnegie Mellon University 53 * Pittsburgh PA 15213-3890 54 * 55 * any improvements or extensions that they make and grant Carnegie the 56 * rights to redistribute these changes. 57 * | 1/*- 2 * Copyright (c) 1991, 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 --- 41 unchanged lines hidden (view full) --- 50 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 51 * School of Computer Science 52 * Carnegie Mellon University 53 * Pittsburgh PA 15213-3890 54 * 55 * any improvements or extensions that they make and grant Carnegie the 56 * rights to redistribute these changes. 57 * |
58 * $FreeBSD: head/sys/vm/vm.h 194766 2009-06-23 20:45:22Z kib $ | 58 * $FreeBSD: head/sys/vm/vm.h 195033 2009-06-26 04:47:43Z alc $ |
59 */ 60 61#ifndef VM_H 62#define VM_H 63 | 59 */ 60 61#ifndef VM_H 62#define VM_H 63 |
64#include <machine/vm.h> 65 66/* 67 * The exact set of cache control codes is machine dependent. However, every 68 * machine is required to define VM_CACHE_DEFAULT. 69 */ 70typedef char vm_cache_mode_t; /* cache control codes */ 71 |
|
64typedef char vm_inherit_t; /* inheritance codes */ 65 66#define VM_INHERIT_SHARE ((vm_inherit_t) 0) 67#define VM_INHERIT_COPY ((vm_inherit_t) 1) 68#define VM_INHERIT_NONE ((vm_inherit_t) 2) 69#define VM_INHERIT_DEFAULT VM_INHERIT_COPY 70 71typedef u_char vm_prot_t; /* protection codes */ --- 73 unchanged lines hidden --- | 72typedef char vm_inherit_t; /* inheritance codes */ 73 74#define VM_INHERIT_SHARE ((vm_inherit_t) 0) 75#define VM_INHERIT_COPY ((vm_inherit_t) 1) 76#define VM_INHERIT_NONE ((vm_inherit_t) 2) 77#define VM_INHERIT_DEFAULT VM_INHERIT_COPY 78 79typedef u_char vm_prot_t; /* protection codes */ --- 73 unchanged lines hidden --- |