Annotation of XNU/osfmk/i386/AT386/physmem_entries.h, revision 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_FREE_COPYRIGHT@
        !            24:  */
        !            25: /*
        !            26:  * HISTORY
        !            27:  * 
        !            28:  * Revision 1.1.1.1  1998/09/22 21:05:39  wsanchez
        !            29:  * Import of Mac OS X kernel (~semeria)
        !            30:  *
        !            31:  * Revision 1.1.1.1  1998/03/07 02:25:38  wsanchez
        !            32:  * Import of OSF Mach kernel (~mburg)
        !            33:  *
        !            34:  * Revision 1.1.4.1  1996/11/29  16:56:56  stephen
        !            35:  *     nmklinux_1.0b3_shared into pmk1.1
        !            36:  *     Created. Prototypes for the "physmem" device.
        !            37:  *     [1996/11/22  15:25:06  barbou]
        !            38:  *
        !            39:  * $EndLog$
        !            40:  */
        !            41: 
        !            42: extern io_return_t     physmem_open(
        !            43:                                dev_t           dev,
        !            44:                                dev_mode_t      flag,
        !            45:                                io_req_t        ior);
        !            46: extern void            physmem_close(
        !            47:                                dev_t           dev);
        !            48: extern io_return_t     physmem_read(
        !            49:                                dev_t           dev,
        !            50:                                io_req_t        ior);
        !            51: extern io_return_t     physmem_write(
        !            52:                                dev_t           dev,
        !            53:                                io_req_t        ior);
        !            54: extern io_return_t     physmem_getstat(
        !            55:                                dev_t           dev,
        !            56:                                dev_flavor_t    flavor,
        !            57:                                dev_status_t    data,
        !            58:                                mach_msg_type_number_t * count);
        !            59: extern io_return_t     physmem_setstat(
        !            60:                                dev_t           dev,
        !            61:                                dev_flavor_t    flavor,
        !            62:                                dev_status_t    data,
        !            63:                                mach_msg_type_number_t  count);
        !            64: extern vm_offset_t     physmem_mmap(
        !            65:                                dev_t           dev,
        !            66:                                vm_offset_t     off,
        !            67:                                vm_prot_t       prot);
        !            68: extern io_return_t     phsymem_async_in(
        !            69:                                dev_t           dev,
        !            70:                                ipc_port_t      rcv_port,
        !            71:                                int             pri,
        !            72:                                filter_t        *filter,
        !            73:                                mach_msg_type_number_t fcount,
        !            74:                                device_t        device);
        !            75: extern void            physmem_reset(
        !            76:                                dev_t           dev);
        !            77: extern boolean_t       phsymem_port_death(
        !            78:                                dev_t           dev,
        !            79:                                ipc_port_t      port);
        !            80: extern io_return_t     physmem_dev_info(
        !            81:                                dev_t           dev,
        !            82:                                dev_flavor_t    flavor,
        !            83:                                char            * info);

unix.superglobalmegacorp.com

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