1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.1.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>SCFG_IsSecureRomAccessible</TITLE>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">SCFG_IsSecureRomAccessible <IMG src="../../image/TWL.gif" width="23" height="12" border="0" align="middle"></H1>
12<H2>Syntax</H2>
13<DL>
14  <DD>
15<PRE><CODE>#include &lt;twl/scfg.h&gt;</CODE></PRE>
16  <PRE><CODE>static inline BOOL SCFG_IsSecureRomAccessible( void );
17  </CODE></PRE>
18</DL>
19<H2>Arguments</H2>
20<P>None.</P>
21<H2>Return Values</H2>
22<P>If <CODE>TRUE</CODE>, access is permitted. If <CODE>FALSE</CODE>, access is not permitted.</P>
23<H2>Description</H2>
24<P>Determines if ARM9 secure ROM can be used.</P>
25<P>If the return value is <CODE>TRUE</CODE>, access is permitted. If it is <CODE>FALSE</CODE>, access from the AHB is not permitted.</P>
26<P>Settings are configured by the ARM7. This function is used to read the setting.</P>
27<P><B><FONT color="#ff0000">Note:</FONT></B> <FONT color="#ff0000">Use this function when running on TWL hardware.</FONT></P>
28<P>Because NITRO hardware does not include an SCFG block, this function is not expected to be invoked on NITRO hardware. If this function is invoked on NITRO hardware, <CODE>TRUE</CODE> is returned. Although execution does not stop even if invoked this way, note that the value returned is meaningless.</P>
29<H3><BR> Correspondence Table Between the Operating Environment/Operating Mode and Return Value</H3>
30<TABLE border="1">
31  <TBODY>
32    <TR>
33<TH>Operating Environment</TH>
34<TH>Return Values When Operating in TWL Mode</TH>
35<TH>Return Values When Operating in NITRO Mode</TH>
36    </TR>
37    <TR>
38<TD>IS-TWL-DEBUGGER<BR>TWL hardware</TD>
39<TD>FALSE</TD>
40<TD>FALSE</TD>
41    </TR>
42    <TR>
43<TD>IS-NITRO-DEBUGGER<BR> ENSATA EMULATOR<BR> NITRO hardware</TD>
44<TD>(This combination does not exist.)</TD>
45<TD>TRUE<BR> <FONT color="#ff0000">Because this combination is not anticipated, <BR>the return value means nothing.</FONT></TD>
46    </TR>
47  </TBODY>
48</TABLE>
49<H2>See Also</H2>
50<P><A href="../overview_scfg.html">SCFG Overview</A></P>
51<H2>Revision History</H2>
52<P>2007/10/03 Initial version.</P>
53<hr><p>CONFIDENTIAL</p></body>
54</HTML>