X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..bd504ef0e0b883cdd7917b73b3574eb9ce669905:/osfmk/kern/exception.h diff --git a/osfmk/kern/exception.h b/osfmk/kern/exception.h index 9a6697483..a35895d8b 100644 --- a/osfmk/kern/exception.h +++ b/osfmk/kern/exception.h @@ -51,12 +51,14 @@ struct exception_action { /* Make an up-call to a thread's exception server */ extern void exception_triage( exception_type_t exception, - exception_data_t code, + mach_exception_data_t code, mach_msg_type_number_t codeCnt); /* Notify system performance monitor */ -extern kern_return_t sys_perf_notify(struct task *task, - exception_data_t code, - mach_msg_type_number_t codeCnt); +extern kern_return_t sys_perf_notify(thread_t thread, int pid); + +/* Notify crash reporter */ +extern kern_return_t task_exception_notify(exception_type_t exception, + mach_exception_data_type_t code, mach_exception_data_type_t subcode); #endif /* _KERN_EXCEPTION_H_ */