2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
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.
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
20 * @APPLE_LICENSE_HEADER_END@
23 * @OSF_FREE_COPYRIGHT@
28 * Revision 1.1.1.1 1998/09/22 21:05:39 wsanchez
29 * Import of Mac OS X kernel (~semeria)
31 * Revision 1.1.1.1 1998/03/07 02:25:38 wsanchez
32 * Import of OSF Mach kernel (~mburg)
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]
42 extern io_return_t
physmem_open(
46 extern void physmem_close(
48 extern io_return_t
physmem_read(
51 extern io_return_t
physmem_write(
54 extern io_return_t
physmem_getstat(
58 mach_msg_type_number_t
* count
);
59 extern io_return_t
physmem_setstat(
63 mach_msg_type_number_t count
);
64 extern vm_offset_t
physmem_mmap(
68 extern io_return_t
phsymem_async_in(
73 mach_msg_type_number_t fcount
,
75 extern void physmem_reset(
77 extern boolean_t
phsymem_port_death(
80 extern io_return_t
physmem_dev_info(