Root/
Source at commit 1275 created 12 years 11 months ago. By meklort, Remove unused file. Fixup makefiles some more - boot2 compiles again. | |
---|---|
1 | /*␊ |
2 | * Copyright (c) 2000-2007 Apple Inc. All rights reserved.␊ |
3 | */␊ |
4 | /*␊ |
5 | * @OSF_COPYRIGHT@␊ |
6 | */␊ |
7 | /* ␊ |
8 | * Mach Operating System␊ |
9 | * Copyright (c) 1991,1990,1989,1988 Carnegie Mellon University␊ |
10 | * All Rights Reserved.␊ |
11 | * ␊ |
12 | * Permission to use, copy, modify and distribute this software and its␊ |
13 | * documentation is hereby granted, provided that both the copyright␊ |
14 | * notice and this permission notice appear in all copies of the␊ |
15 | * software, derivative works or modified versions, and any portions␊ |
16 | * thereof, and that both notices appear in supporting documentation.␊ |
17 | * ␊ |
18 | * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"␊ |
19 | * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR␊ |
20 | * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.␊ |
21 | * ␊ |
22 | * Carnegie Mellon requests users of this software to return to␊ |
23 | * ␊ |
24 | * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU␊ |
25 | * School of Computer Science␊ |
26 | * Carnegie Mellon University␊ |
27 | * Pittsburgh PA 15213-3890␊ |
28 | * ␊ |
29 | * any improvements or extensions that they make and grant Carnegie Mellon␊ |
30 | * the rights to redistribute these changes.␊ |
31 | */␊ |
32 | /*␊ |
33 | */␊ |
34 | ␊ |
35 | /*␊ |
36 | *␉File:␉vm_types.h␊ |
37 | *␉Author:␉Avadis Tevanian, Jr.␊ |
38 | *␉Date: 1985␊ |
39 | *␊ |
40 | *␉Header file for VM data types. ARM version.␊ |
41 | */␊ |
42 | ␊ |
43 | #ifndef␉_MACH_ARM_VM_TYPES_H_␊ |
44 | #define _MACH_ARM_VM_TYPES_H_␊ |
45 | ␊ |
46 | #ifndef␉ASSEMBLER␊ |
47 | ␊ |
48 | #include <arm/_types.h>␊ |
49 | #include <mach/arm/vm_param.h>␊ |
50 | #include <stdint.h>␊ |
51 | ␊ |
52 | /*␊ |
53 | * natural_t and integer_t are Mach's legacy types for machine-␊ |
54 | * independent integer types (unsigned, and signed, respectively).␊ |
55 | * Their original purpose was to define other types in a machine/␊ |
56 | * compiler independent way.␊ |
57 | *␊ |
58 | * They also had an implicit "same size as pointer" characteristic␊ |
59 | * to them (i.e. Mach's traditional types are very ILP32 or ILP64␊ |
60 | * centric). We will likely support x86 ABIs that do not follow␊ |
61 | * either ofthese models (specifically LP64). Therefore, we had to␊ |
62 | * make a choice between making these types scale with pointers or stay␊ |
63 | * tied to integers. Because their use is predominantly tied to␊ |
64 | * to the size of an integer, we are keeping that association and␊ |
65 | * breaking free from pointer size guarantees.␊ |
66 | *␊ |
67 | * New use of these types is discouraged.␊ |
68 | */␊ |
69 | typedef __darwin_natural_t␉natural_t;␊ |
70 | typedef int␉␉␉integer_t;␊ |
71 | ␊ |
72 | /*␊ |
73 | * A vm_offset_t is a type-neutral pointer,␊ |
74 | * e.g. an offset into a virtual memory space.␊ |
75 | */␊ |
76 | typedef␉natural_t␉␉vm_offset_t;␊ |
77 | ␊ |
78 | /*␊ |
79 | * A vm_size_t is the proper type for e.g.␊ |
80 | * expressing the difference between two␊ |
81 | * vm_offset_t entities.␊ |
82 | */␊ |
83 | typedef␉natural_t␉␉vm_size_t;␊ |
84 | ␊ |
85 | /*␊ |
86 | * This new type is independent of a particular vm map's␊ |
87 | * implementation size - and represents appropriate types␊ |
88 | * for all possible maps. This is used for interfaces␊ |
89 | * where the size of the map is not known - or we don't␊ |
90 | * want to have to distinguish.␊ |
91 | */␊ |
92 | typedef uint32_t␉␉mach_vm_address_t;␊ |
93 | typedef uint32_t␉␉mach_vm_offset_t;␊ |
94 | typedef uint32_t␉␉mach_vm_size_t;␊ |
95 | ␊ |
96 | typedef uint32_t␉␉vm_map_offset_t;␊ |
97 | typedef uint32_t␉␉vm_map_address_t;␊ |
98 | typedef uint32_t␉␉vm_map_size_t;␊ |
99 | ␊ |
100 | typedef uint32_t␉␉vm32_offset_t;␊ |
101 | typedef uint32_t␉␉vm32_address_t;␊ |
102 | typedef uint32_t␉␉vm32_size_t;␊ |
103 | ␊ |
104 | #define VM_MAP_MIN_ADDRESS␉VM_MIN_ADDRESS␊ |
105 | #define VM_MAP_MAX_ADDRESS␉VM_MAX_ADDRESS␊ |
106 | ␊ |
107 | #endif␉/* ASSEMBLER */␊ |
108 | ␊ |
109 | /*␊ |
110 | * If composing messages by hand (please do not)␊ |
111 | */␊ |
112 | #define␉MACH_MSG_TYPE_INTEGER_T␉MACH_MSG_TYPE_INTEGER_32␊ |
113 | ␊ |
114 | #endif␉/* _MACH_ARM_VM_TYPES_H_ */␊ |
115 |