Annotation of XNU/osfmk/mach/vm_behavior.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
                      3:  *
                      4:  * @APPLE_LICENSE_HEADER_START@
                      5:  * 
                      6:  * The contents of this file constitute Original Code as defined in and
                      7:  * are subject to the Apple Public Source License Version 1.1 (the
                      8:  * "License").  You may not use this file except in compliance with the
                      9:  * License.  Please obtain a copy of the License at
                     10:  * http://www.apple.com/publicsource and read it before using this file.
                     11:  * 
                     12:  * This Original Code and all software distributed under the License are
                     13:  * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
                     14:  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
                     15:  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
                     16:  * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
                     17:  * License for the specific language governing rights and limitations
                     18:  * under the License.
                     19:  * 
                     20:  * @APPLE_LICENSE_HEADER_END@
                     21:  */
                     22: /*
                     23:  * @OSF_COPYRIGHT@
                     24:  */
                     25: /*
                     26:  * HISTORY
                     27:  * 
                     28:  * Revision 1.1.1.1  1998/09/22 21:05:31  wsanchez
                     29:  * Import of Mac OS X kernel (~semeria)
                     30:  *
                     31:  * Revision 1.1.1.1  1998/03/07 02:25:46  wsanchez
                     32:  * Import of OSF Mach kernel (~mburg)
                     33:  *
                     34:  * Revision 1.1.10.2  1994/09/23  02:44:05  ezf
                     35:  *     change marker to not FREE
                     36:  *     [1994/09/22  21:43:34  ezf]
                     37:  *
                     38:  * Revision 1.1.10.1  1994/08/07  20:50:20  bolinger
                     39:  *     Import colo_shared revision into NMK18.
                     40:  *     [1994/08/02  16:41:42  bolinger]
                     41:  * 
                     42:  * Revision 1.1.8.1  1994/07/08  20:09:11  dwm
                     43:  *     mk6 CR227 - bring vm_behavior constants up to spec.
                     44:  *     [1994/07/08  20:02:37  dwm]
                     45:  * 
                     46:  * Revision 1.1.4.3  1993/09/17  21:35:31  robert
                     47:  *     change marker to OSF_FREE_COPYRIGHT
                     48:  *     [1993/09/17  21:28:53  robert]
                     49:  * 
                     50:  * Revision 1.1.4.2  1993/06/04  15:14:02  jeffc
                     51:  *     CR9193 - MK5.0 merge.
                     52:  *     [1993/06/04  13:54:38  jeffc]
                     53:  * 
                     54:  * Revision 3.0  92/12/31  22:14:09  ede
                     55:  *     Initial revision for OSF/1 R1.3
                     56:  * 
                     57:  * $EndLog$
                     58:  */
                     59: /*
                     60:  *     File:   mach/vm_behavior.h
                     61:  *
                     62:  *     Virtual memory map behavior definitions.
                     63:  *
                     64:  */
                     65: 
                     66: #ifndef        _MACH_VM_BEHAVIOR_H_
                     67: #define _MACH_VM_BEHAVIOR_H_
                     68: 
                     69: /*
                     70:  *     Types defined:
                     71:  *
                     72:  *     vm_behavior_t   behavior codes.
                     73:  */
                     74: 
                     75: typedef int            vm_behavior_t;
                     76: 
                     77: /*
                     78:  *     Enumeration of valid values for vm_behavior_t.
                     79:  *     These describe expected page reference behavior for 
                     80:  *     for a given range of virtual memory.  For implementation 
                     81:  *     details see vm/vm_fault.c
                     82:  */
                     83: 
                     84: 
                     85: #define VM_BEHAVIOR_DEFAULT    ((vm_behavior_t) 0)     /* default */
                     86: #define VM_BEHAVIOR_RANDOM     ((vm_behavior_t) 1)     /* random */
                     87: #define VM_BEHAVIOR_SEQUENTIAL ((vm_behavior_t) 2)     /* forward sequential */
                     88: #define VM_BEHAVIOR_RSEQNTL    ((vm_behavior_t) 3)     /* reverse sequential */
                     89: 
                     90: #endif /*_MACH_VM_BEHAVIOR_H_*/

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.