xref: /NextBSD/sys/sys/mach/vm_types.h (revision 33da5adc555b3bc29986eeadca03829e4ad06b1e)
1 /*
2  * Copyright 1991-1998 by Open Software Foundation, Inc.
3  *              All Rights Reserved
4  *
5  * Permission to use, copy, modify, and distribute this software and
6  * its documentation for any purpose and without fee is hereby granted,
7  * provided that the above copyright notice appears in all copies and
8  * that both the copyright notice and this permission notice appear in
9  * supporting documentation.
10  *
11  * OSF DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE
12  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
13  * FOR A PARTICULAR PURPOSE.
14  *
15  * IN NO EVENT SHALL OSF BE LIABLE FOR ANY SPECIAL, INDIRECT, OR
16  * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17  * LOSS OF USE, DATA OR PROFITS, WHETHER IN ACTION OF CONTRACT,
18  * NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
19  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
20  *
21  */
22 
23 #ifndef	MACH_VM_TYPES_H_
24 #define MACH_VM_TYPES_H_
25 
26 #include <sys/types.h>
27 
28 typedef vm_offset_t     pointer_t;
29 typedef vm_offset_t     vm_address_t;
30 typedef int    vm_purgable_t;
31 typedef uint32_t	natural_t;
32 
33 typedef vm_address_t	mach_vm_address_t;
34 typedef vm_offset_t		mach_vm_offset_t;
35 typedef vm_size_t		mach_vm_size_t;
36 typedef vm_offset_t		vm_map_offset_t;
37 typedef vm_address_t	vm_map_address_t;
38 typedef vm_size_t		vm_map_size_t;
39 typedef vm_address_t	mach_port_context_t;
40 typedef	int32_t			integer_t;
41 
42 #ifndef _KERNEL
43 typedef natural_t mach_vm_map_t; /* mach_port_t */
44 #endif
45 
46 #endif	/* MACH_VM_TYPES_H_ */
47 
48 
49