#include "libc.h"
try to exit from a kernel launched program with yield(0) then use _exit(2). This routine is for drivers initialization thread.