OSSwitchStack

Syntax

#include <cafe/os.h>

u32 OSSwitchStack(u32 newsp);

Parameters

newsp Pointer to new stack address (the position of the highest possible address value).

Return Values

The old stack address.

Description

Switches the current stack pointer to newsp.

Do Not Call From

None.

Revision History

2013-05-08 Automated cleanup pass.
2012-07-31 Cleanup Pass
2012-05-25 Match actual prototype.
2010-08-30 Initial version.


CONFIDENTIAL