OSSwitchFiber

C Specification

#include <revolution/os.h>
int OSSwitchFiber (register u32 pc, register u32 newsp);

Arguments

pc Location from where the specified function starts to run.
newsp Pointer to new stack (location of the highest possible address value).

Return Values

Result of the function that pc points to.

Description

Executes a function specified by pc using the new stack specified by newsp. When the function returns, the old stack pointer is restored.

See Also

Revision History

03/01/2006 Initial version.