+
+typedef kern_return_t (*perfCallback)(
+ int trapno,
+ void *regs,
+ uintptr_t *lo_spp,
+ int);
+
+typedef kern_return_t (*perfASTCallback)(ast_t reasons, ast_t *myast);
+
+extern volatile perfCallback perfTrapHook;
+extern volatile perfASTCallback perfASTHook;
+extern volatile perfCallback perfIntHook;
+
+extern void panic_i386_backtrace(void *, int, const char *, boolean_t, x86_saved_state_t *);
+#if MACH_KDP
+extern boolean_t kdp_i386_trap(