#include #include #include #include #include static int iCounter; Void timerFunc(UArg arg) { iCounter++; if(iCounter > 5) { BIOS_exit(0); } } // ======== main ======== Void main() { iCounter = 0; BIOS_start(); return; }