Annotation of OSKit-Mach/include/mach/vm_attributes.h, revision 1.1

1.1     ! root        1: /* 
        !             2:  * Mach Operating System
        !             3:  * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
        !             4:  * All Rights Reserved.
        !             5:  * 
        !             6:  * Permission to use, copy, modify and distribute this software and its
        !             7:  * documentation is hereby granted, provided that both the copyright
        !             8:  * notice and this permission notice appear in all copies of the
        !             9:  * software, derivative works or modified versions, and any portions
        !            10:  * thereof, and that both notices appear in supporting documentation.
        !            11:  * 
        !            12:  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
        !            13:  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
        !            14:  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
        !            15:  * 
        !            16:  * Carnegie Mellon requests users of this software to return to
        !            17:  * 
        !            18:  *  Software Distribution Coordinator  or  [email protected]
        !            19:  *  School of Computer Science
        !            20:  *  Carnegie Mellon University
        !            21:  *  Pittsburgh PA 15213-3890
        !            22:  * 
        !            23:  * any improvements or extensions that they make and grant Carnegie Mellon
        !            24:  * the rights to redistribute these changes.
        !            25:  */
        !            26: /*
        !            27:  *     File:   mach/vm_attributes.h
        !            28:  *     Author: Alessandro Forin
        !            29:  *
        !            30:  *     Virtual memory attributes definitions.
        !            31:  *
        !            32:  *     These definitions are in addition to the machine-independent
        !            33:  *     ones (e.g. protection), and are only selectively supported
        !            34:  *     on specific machine architectures.
        !            35:  *
        !            36:  */
        !            37: 
        !            38: #ifndef        _MACH_VM_ATTRIBUTES_H_
        !            39: #define        _MACH_VM_ATTRIBUTES_H_
        !            40: 
        !            41: /*
        !            42:  *     Types of machine-dependent attributes
        !            43:  */
        !            44: typedef unsigned int   vm_machine_attribute_t;
        !            45: 
        !            46: #define        MATTR_CACHE             1       /* cachability */
        !            47: #define MATTR_MIGRATE          2       /* migrability */
        !            48: #define        MATTR_REPLICATE         4       /* replicability */
        !            49: 
        !            50: /*
        !            51:  *     Values for the above, e.g. operations on attribute
        !            52:  */
        !            53: typedef int            vm_machine_attribute_val_t;
        !            54: 
        !            55: #define MATTR_VAL_OFF          0       /* (generic) turn attribute off */
        !            56: #define MATTR_VAL_ON           1       /* (generic) turn attribute on */
        !            57: #define MATTR_VAL_GET          2       /* (generic) return current value */
        !            58: 
        !            59: #define MATTR_VAL_CACHE_FLUSH  6       /* flush from all caches */
        !            60: #define MATTR_VAL_DCACHE_FLUSH 7       /* flush from data caches */
        !            61: #define MATTR_VAL_ICACHE_FLUSH 8       /* flush from instruction caches */
        !            62: 
        !            63: #endif /* _MACH_VM_ATTRIBUTES_H_ */

unix.superglobalmegacorp.com

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