-mig_hash_t mig_buckets[MAX_MIG_ENTRIES];
-int mig_table_max_displ;
-mach_msg_size_t mig_reply_size;
-
-
-#include <mach/mach_port_server.h>
-#include <mach/mach_host_server.h>
-#include <mach/host_priv_server.h>
-#include <mach/host_security_server.h>
-#include <mach/clock_server.h>
-#include <mach/clock_priv_server.h>
-#include <mach/ledger_server.h>
-#include <mach/lock_set_server.h>
-#include <default_pager/default_pager_object_server.h>
-#include <mach/memory_object_server.h>
-#include <mach/memory_object_control_server.h>
-#include <mach/memory_object_default_server.h>
-#include <mach/memory_object_name_server.h>
-#include <mach/processor_server.h>
-#include <mach/processor_set_server.h>
-#include <mach/semaphore_server.h>
-#include <mach/task_server.h>
-#include <mach/vm_map_server.h>
-#include <mach/thread_act_server.h>
-#include <device/device_server.h>
-#include <UserNotification/UNDReplyServer.h>
-
-#if MACH_MACHINE_ROUTINES
-#include <machine/machine_routines.h>
-#endif /* MACH_MACHINE_ROUTINES */
-#if XK_PROXY
-#include <uk_xkern/xk_uproxy_server.h>
-#endif /* XK_PROXY */
-
-
-mig_subsystem_t mig_e[] = {
- (mig_subsystem_t)&mach_port_subsystem,
- (mig_subsystem_t)&mach_host_subsystem,
- (mig_subsystem_t)&host_priv_subsystem,
- (mig_subsystem_t)&host_security_subsystem,
- (mig_subsystem_t)&clock_subsystem,
- (mig_subsystem_t)&clock_priv_subsystem,
- (mig_subsystem_t)&processor_subsystem,
- (mig_subsystem_t)&processor_set_subsystem,
- (mig_subsystem_t)&is_iokit_subsystem,
- (mig_subsystem_t)&memory_object_name_subsystem,
- (mig_subsystem_t)&lock_set_subsystem,
- (mig_subsystem_t)&ledger_subsystem,
- (mig_subsystem_t)&semaphore_subsystem,
- (mig_subsystem_t)&task_subsystem,
- (mig_subsystem_t)&thread_act_subsystem,
- (mig_subsystem_t)&vm_map_subsystem,
- (mig_subsystem_t)&UNDReply_subsystem,
+static mig_hash_t mig_buckets[MAX_MIG_ENTRIES];
+static int mig_table_max_displ;
+static mach_msg_size_t mig_reply_size = sizeof(mig_reply_error_t);
+
+
+
+const struct mig_subsystem *mig_e[] = {
+ (const struct mig_subsystem *)&mach_vm_subsystem,
+ (const struct mig_subsystem *)&mach_port_subsystem,
+ (const struct mig_subsystem *)&mach_host_subsystem,
+ (const struct mig_subsystem *)&host_priv_subsystem,
+ (const struct mig_subsystem *)&host_security_subsystem,
+ (const struct mig_subsystem *)&clock_subsystem,
+ (const struct mig_subsystem *)&clock_priv_subsystem,
+ (const struct mig_subsystem *)&processor_subsystem,
+ (const struct mig_subsystem *)&processor_set_subsystem,
+ (const struct mig_subsystem *)&is_iokit_subsystem,
+ (const struct mig_subsystem *)&lock_set_subsystem,
+ (const struct mig_subsystem *)&task_subsystem,
+ (const struct mig_subsystem *)&thread_act_subsystem,
+#if VM32_SUPPORT
+ (const struct mig_subsystem *)&vm32_map_subsystem,
+#endif
+ (const struct mig_subsystem *)&UNDReply_subsystem,
+ (const struct mig_subsystem *)&default_pager_object_subsystem,
+ (const struct mig_subsystem *)&mach_voucher_subsystem,
+ (const struct mig_subsystem *)&mach_voucher_attr_control_subsystem,