summaryrefslogtreecommitdiff
path: root/tool/headers/mach/arm/vm_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'tool/headers/mach/arm/vm_types.h')
-rw-r--r--tool/headers/mach/arm/vm_types.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/tool/headers/mach/arm/vm_types.h b/tool/headers/mach/arm/vm_types.h
new file mode 100644
index 000000000..7b2eac30b
--- /dev/null
+++ b/tool/headers/mach/arm/vm_types.h
@@ -0,0 +1,20 @@
+#ifndef _MACH_ARM_VM_TYPES_H_
+#define _MACH_ARM_VM_TYPES_H_
+
+#include <arm/_types.h>
+#include <stdint.h>
+
+typedef __darwin_natural_t natural_t;
+typedef int integer_t;
+
+typedef natural_t vm_offset_t;
+typedef natural_t vm_size_t;
+
+typedef uint64_t mach_vm_address_t;
+typedef uint64_t mach_vm_offset_t;
+typedef uint64_t mach_vm_size_t;
+
+#define MACH_MSG_TYPE_INTEGER_T MACH_MSG_TYPE_INTEGER_32
+
+#endif
+