Newer
Older
#include <syscall.h>
#include <context-switch.h>
#include <bwio.h>
register int RetVal asm("r0");
return RetVal;
}
int MyTid() {
register int RetVal asm("r0");
return RetVal;
}
int MyParentTid() {
register int RetVal asm("r0");
return RetVal;
}
void Pass() {
}
void Exit() {
bwprintf(COM2,"Before SWI exit\n\r");
asm volatile ("swi 4\n\t");
}