X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..13fec9890cf095cc781fdf7b8917cb03bf32dd4c:/osfmk/man/exc_server.html diff --git a/osfmk/man/exc_server.html b/osfmk/man/exc_server.html index 3bc56b110..9d1c2a4e3 100755 --- a/osfmk/man/exc_server.html +++ b/osfmk/man/exc_server.html @@ -1 +1,60 @@ -
Function - Handle kernel-reported thread exception.
boolean_t exc_server (mach_msg_header_t request_msg, mach_msg_header_t reply_ms);
The exc_server function is the MIG generated server handling function to handle messages from the kernel relating to the occurrence of an exception in a thread. Such messages are delivered to the exception port set via thread_set_exception_ports or task_set_exception_ports. When an exception occurs in a thread, the thread sends an exception message to its exception port, blocking in the kernel waiting for the receipt of a reply. The exc_server function performs all necessary argument handling for this kernel message and calls catch_exception_raise, catch_exception_raise_state or catch_exception_raise_state_identity, which should handle the exception. If the called routine returns KERN_SUCCESS, a reply message will be sent, allowing the thread to continue from the point of the exception; otherwise, no reply message is sent and the called routine must have dealt with the exception thread directly.
Functions: catch_exception_raise. \ No newline at end of file +
+Function - Handle kernel-reported thread exception. +
+boolean_t exc_server + (mach_msg_header_t request_msg, + mach_msg_header_t reply_ms); ++
+
+
+The exc_server function is the MIG generated server +handling function to +handle messages from the kernel relating to the occurrence of +an exception in a +thread. Such messages are delivered to the exception port set via +thread_set_exception_ports or task_set_exception_ports. +When an exception occurs in a +thread, the thread sends an exception message to its exception port, blocking in +the kernel waiting for the receipt of a reply. The exc_server +function performs +all necessary argument handling for this kernel message and calls +catch_exception_raise, catch_exception_raise_state or +catch_exception_raise_state_identity, which should handle the +exception. If the called routine +returns KERN_SUCCESS, a reply message will be sent, allowing +the thread to +continue from the point of the exception; otherwise, no reply message is sent +and the called routine must have dealt with the exception thread directly. +
+
+
+Functions: +catch_exception_raise.