OSMemoryBarrier

Syntax

#include <cafe/os.h>

void OSMemoryBarrier(void);

Parameters

None.

Return Values

None.

Description

Executes a PowerPC SYNC+EIEIO instruction pair, forcing stores on the existing processor core to complete prior to resuming execution on the current processor core. The SYNC instruction on Espresso differs from the standard PowerPC architecture, whereas stores become coherent in the CPU domain, but SYNC does not wait until stores complete to memory.

Do Not Call From

None.

Revision History

2013/05/08 Automated cleanup pass.
2012/07/31 Cleanup Pass.
2012/05/25 Matched actual prototype.
2010/08/23 Initial version.


CONFIDENTIAL