DC_WaitWriteBufferEmpty

Syntax

#include <nitro/os.h>
void DC_WaitWriteBufferEmpty( void );

Arguments

None.

Return Values

None.

Description

Waits for the write buffer to empty.

It is possible for this function to stall the ARM9 until the entire contents of the write buffer are written into memory.

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.

Note that when loading from the I/O registers, the write buffer is not written out.

Internal Operation

Operates register 7 of the system control coprocessor.

See Also

DC_StoreAll

Revision History

2003/12/22 Initial version.


CONFIDENTIAL