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>DC_WaitWriteBufferEmpty</TITLE>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">DC_WaitWriteBufferEmpty <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.h&gt;</CODE></PRE>
16  <PRE><CODE>void DC_WaitWriteBufferEmpty( void );</CODE>
17</PRE>
18</DL>
19
20<H2>Arguments</H2>
21<P>None.</P>
22
23<H2>Return Values</H2>
24<P>None.</P>
25
26<H2>Description</H2>
27<P>Waits for the write buffer to empty.</P>
28<P>It is possible for this function to stall the ARM9 until the entire contents of the write buffer are written into memory.</P>
29<P>Because the contents of the write buffer are written out before writing to a cache-disabled or buffer-disabled area, when writing to an I/O register after flushing a cache or performing similar operations, there is no need to explicitly wait for the write buffer to empty.</P>
30<P>Note that when loading from the I/O registers, the write buffer is not written out.</P>
31<h2>Internal Operation</h2>
32<P>Operates register 7 of the system control coprocessor.</P>
33<H2>See Also</H2>
34<P><CODE><A href="DC_StoreAll.html">DC_StoreAll</A><BR></CODE></P>
35
36<H2>Revision History</H2>
37<P>2003/12/22 Initial version.</P>
38<hr><p>CONFIDENTIAL</p></body>
39</HTML>