1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7<title>UserExceptionHandler</title>
8  </head>
9  <body>
10<h1><CODE>nn::os::ARM::UserExceptionHandler</CODE> Type</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14typedef void(* nn::os::ARM::UserExceptionHandler)(ExceptionInfo *pei, ExceptionContext *pec);</pre>
15    </div>
16<h2>Description</h2>
17    <div class="section">
18<p>Enumerated type representing exception handlers.</p><p>The <SPAN class="argument">pei</SPAN> argument takes information about the exception that occurred.</p><p>The <SPAN class="argument">pec</SPAN> argument takes the CPU context at the time the exception occurred.</p><p>When an exception handler is specified and an exception occurs, the exception handler is called in the context of the thread where the exception occurred.</p><p>Note that special processing, such as disabling interrupts, is not used when calling the exception handler. The exception handler stack breaks if an exception occurs during exception handling.</p><p>Note that the exception handler cannot be called in the debug environment.</p><!-- write here --></div>
19<h2>Revision History</h2>
20    <div class="section">
21      <dl class="history">
22        <dt>2010/09/16</dt>
23<dd>Noted that the exception handler is not called in the debug environment.<br />
24        </dd>
25        <dt>2010/08/16</dt>
26<dd>Initial version.<br />
27        </dd>
28      </dl>
29    </div>
30  <hr><p>CONFIDENTIAL</p></body>
31</html>