1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>OS_InitIrqTable</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">OS_InitIrqTable <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></h1>
15<h2>Syntax</h2>
16
17<dl>
18  <dd>
19<CODE>#include &lt;nitro/os.h&gt;</CODE><BR>
20  <BR>
21  <CODE>void OS_InitIrqTable( void );</CODE></dd>
22</dl><h2>Arguments</h2>
23<P>None.</P>
24<h2>Return Values</h2>
25<p>None.</p>
26<H2>Description</H2>
27<P>This function initializes the IRQ interrupt table.</P>
28<P>The IRQ interrupt table is a table that is used to register which functions to jump to  when an IRQ interrupt occurs. The table is divided along each IRQ interrupt cause.</P>
29<P>Once this function has been called to initialize the table, functions that do nothing in response to most interrupts will have been set; however, <CODE>DMA</CODE>, <CODE>NEW DMA</CODE>, and <CODE>TIMER</CODE> interrupts register interrupt handlers that are prepared on the OS side. If the user registers a handler for these interrupts, these interrupts will be called from the interrupt handler provided by OS. The user does not need to be aware of this difference. Immediately after <CODE>OS_InitIrqTable()</CODE> is called, it should appear as though nothing is being done for any of the interrupts.</P>
30<P>Since this function is called from within <CODE><A href="../init/OS_Init.html">OS_Init()</A></CODE>, there is no need to call it when <CODE><A href="../init/OS_Init.html">OS_Init()</A></CODE> is called.</P>
31<h2>See Also</h2>
32<p><A href="OS_SetIrqFunction.html"><code>OS_SetIrqFunction</code></A>, <A href="OS_GetIrqFunction.html"><code>OS_GetIrqFunction</code></A></p>
33<H2>Revision History</H2>
34<P>2005/07/19 Added description of calling from <CODE><A href="../init/OS_Init.html">OS_Init()</A></CODE>.<br />2005/03/08 Standardized the Japanese word for &quot;interrupt.&quot;<br /> 2004/03/01 Updated description of operation at initialization.<br /> 2003/12/01 Initial version.</P>
35<hr><p>CONFIDENTIAL</p></body>
36</html>
37