#include <revolution/os.h> int OSSwitchFiber(register u32 pc, register u32 newsp);
pc |
Location from where the specified function starts to run. |
|---|---|
newsp |
Pointer to new stack (location of the highest possible address value). |
The result of the function pointed by pc.
Executes a function pointed to by pc using the new stack pointed to by pc. When the function returns, the old stack pointer is restored.
If an argument needs to be passed to the function, use OSSwitchFiberEx instead.
2006/08/23 Added description of OSSwitchFiberEx.
2006/03/01 Initial version.
CONFIDENTIAL