zynq: make screen and cursor kprocs exit properly

This commit is contained in:
cinap_lenrek 2015-06-11 16:14:11 +02:00
parent 0dbbe79116
commit 36d2504adb

View file

@ -124,7 +124,7 @@ cursorproc(void *arg)
if(waserror()){
hwcursor.addr = 0;
hwcursor.proc = nil;
return;
pexit("detached", 1);
}
reg = (u32int*)hwcursor.addr;
@ -204,7 +204,7 @@ screenproc(void *arg)
if(waserror()){
fbscreen.addr = 0;
fbscreen.proc = nil;
return;
pexit("detached", 1);
}
for(;;){