- ux_handler_init();
-
- thread = current_thread();
- (void) host_set_exception_ports(host_priv_self(),
- EXC_MASK_ALL & ~(EXC_MASK_RPC_ALERT),//pilotfish (shark) needs this port
- (mach_port_t) ux_exception_port,
- EXCEPTION_DEFAULT| MACH_EXCEPTION_CODES,
- 0);
-
- ut = (uthread_t)get_bsdthread_info(thread);