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 8.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>GX_InitEx</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">GX_InitEx <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<PRE><CODE>#include &lt;nitro/gx/gx.h&gt;
20
21void GX_InitEx(u32 dma_no);<BR></CODE></PRE>
22  </dd>
23</dl><h2>Arguments</h2>
24<TABLE border="1" width="100%">
25  <TBODY>
26    <TR>
27<TD width="237"><SPAN class="argument">dma_no</SPAN></TD>
28<TD width="609">The DMA number to use with GX.</TD>
29    </TR>
30  </TBODY>
31</TABLE>
32<h2>Return Values</h2>
33<p>None.</p>
34<H2>Description</H2>
35<P>Initializes all graphics registers that are not 3D-related. It calls <CODE><A href="GX_SetPower.html">GX_SetPower</A> (GX_POWER_ALL)</CODE>.<BR><BR>The GX function uses DMA 3 by default, but you can specify the DMA number to use in the GX function. You can also specify <CODE>GX_DMA_NOT_USE</CODE> in the arguments to not use the DMA.<br> <FONT color="#800000">Before calling this function, you must call the <A href="../../os/spinLock/OS_InitLock.html"><code>OS_InitLock</code></A> or <A href="../../os/init/OS_Init.html"><code>OS_Init</code></A> function.</FONT>
36</P>
37<h2>See Also</h2>
38<P><A href="GX_Init.html"><CODE>GX_Init</CODE></A><BR> <A href="../g3/G3X_Init.html"><CODE>G3X_Init</CODE></A><BR> <A href="../g3/G3X_Reset.html"><CODE>G3X_Reset</CODE></A><BR> <A href="../g3/G3X_InitTable.html"><CODE>G3X_InitTable</CODE></A><BR> <A href="GX_InitNDMAEx.html"><CODE>GX_InitNDMAEx</CODE></A></P>
39<H2>Revision History</H2>
40<P>2005/03/14</P>
41<UL>
42<LI>Corrected link errors.
43</UL>
44<P>2005/02/18</P>
45<UL>
46<LI>Added warning that <code>OS_Init</code> must be called in advance.
47</UL>
48<P>
492004/07/28 Initial version.
50</P>
51<hr><p>CONFIDENTIAL</p></body>
52</html>
53