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.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>SVC_WaitByLoop</TITLE>
8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">SVC_WaitByLoop <IMG src="../image/NTR.gif" align="middle"><IMG src="../image/TWL.gif" align="middle"></H1>
12<H2>Syntax</H2>
13<DL>
14  <DD>
15  <PRE><CODE>#include &lt;nitro/os/systemCall.h&gt;</CODE></PRE>
16  <PRE><CODE>void SVC_WaitByLoop( s32 count );</CODE></PRE>
17</DL>
18<H2>Arguments</H2>
19<TABLE border="1">
20  <TBODY>
21    <TR>
22      <TD><B><I>count</I></B></TD>
23      <TD>Number of times to loop.</TD>
24    </TR>
25  </TBODY>
26</TABLE>
27<H2>Return Values</H2>
28<P>None.</P>
29<H2>Description</H2>
30<P>This function runs the loop process at the specified number of times on the system ROM. Four cycles are needed for one loop. Normally, this makes it possible to reduce the number of times that the ARM9 processor stalls when the ARM7 processor has prior rights to the main memory, and the ARM7 processor is made to run a program on the system ROM. There are times when it is effective to effect a call on the ARM9 processor side when it is necessary to give prior rights to the ARM9 processor for main memory display or other modes, but in most cases if operations are left to the cache or TCM, then there will not be any need to call the ARM9 processor.</P>
31<H2>See Also</H2>
32<P><A href="../os/system/OS_SpinWait.html"><CODE>OS_SpinWait</CODE></A></P>
33<H2>Revision History</H2>
34<P>2004/07/20 Initial version.</P>
35<hr><p>CONFIDENTIAL</p></body>
36</HTML>