-typedef integer_t host_flavor_t;
-#define HOST_BASIC_INFO 1 /* basic info */
-#define HOST_SCHED_INFO 3 /* scheduling info */
-#define HOST_RESOURCE_SIZES 4 /* kernel struct sizes */
-#define HOST_PRIORITY_INFO 5 /* priority information */
-#define HOST_SEMAPHORE_TRAPS 7 /* Has semaphore traps - temporary */
+typedef integer_t host_flavor_t;
+#define HOST_BASIC_INFO 1 /* basic info */
+#define HOST_SCHED_INFO 3 /* scheduling info */
+#define HOST_RESOURCE_SIZES 4 /* kernel struct sizes */
+#define HOST_PRIORITY_INFO 5 /* priority information */
+#define HOST_SEMAPHORE_TRAPS 7 /* Has semaphore traps */
+#define HOST_MACH_MSG_TRAP 8 /* Has mach_msg_trap */
+#define HOST_VM_PURGABLE 9 /* purg'e'able memory info */
+#define HOST_DEBUG_INFO_INTERNAL 10 /* Used for kernel internal development tests only */
+#define HOST_CAN_HAS_DEBUGGER 11
+#define HOST_PREFERRED_USER_ARCH 12 /* Get the preferred user-space architecture */
+
+#ifdef MACH_KERNEL_PRIVATE
+struct host_basic_info_old {
+ integer_t max_cpus; /* max number of cpus possible */
+ uint32_t avail_cpus; /* number of cpus now available */
+ natural_t memory_size; /* size of memory in bytes */
+ cpu_type_t cpu_type; /* cpu type */
+ cpu_subtype_t cpu_subtype; /* cpu subtype */
+};
+
+typedef struct host_basic_info_old host_basic_info_data_old_t;
+typedef struct host_basic_info_old *host_basic_info_old_t;
+#define HOST_BASIC_INFO_OLD_COUNT ((mach_msg_type_number_t) \
+ (sizeof(host_basic_info_data_old_t)/sizeof(integer_t)))
+#endif /* MACH_KERNEL_PRIVATE */
+
+struct host_can_has_debugger_info {
+ boolean_t can_has_debugger;
+};
+typedef struct host_can_has_debugger_info host_can_has_debugger_info_data_t;
+typedef struct host_can_has_debugger_info *host_can_has_debugger_info_t;
+#define HOST_CAN_HAS_DEBUGGER_COUNT ((mach_msg_type_number_t) \
+ (sizeof(host_can_has_debugger_info_data_t)/sizeof(integer_t)))
+
+#pragma pack(push, 4)