18,11 → 18,11 |
|
/** |
------------ |
CVS : $Id: ego.c,v 1.1.1.1 2002-09-02 09:37:41 pj Exp $ |
CVS : $Id: ego.c,v 1.2 2002-10-28 08:11:29 pj Exp $ |
|
File: $File$ |
Revision: $Revision: 1.1.1.1 $ |
Last update: $Date: 2002-09-02 09:37:41 $ |
Revision: $Revision: 1.2 $ |
Last update: $Date: 2002-10-28 08:11:29 $ |
------------ |
**/ |
|
126,12 → 126,12 |
/* Default action for an kern exception is */ |
kern_cli(); |
ll_gettime(TIME_EXACT, &t), |
kern_printf("\nS.Ha.R.K. Exception raised!!!" |
"\nTime (s:ns) :%ld:%ld" |
"\nException number:%d (numbers in include/bits/errno.h)" |
"\nPID :%d\n", |
t.tv_sec, t.tv_nsec, info->si_value.sival_int, |
info->si_task); |
cprintf("\nS.Ha.R.K. Exception raised!!!" |
"\nTime (s:ns) :%ld:%ld" |
"\nException number:%d (numbers in include/bits/errno.h)" |
"\nPID :%d\n", |
t.tv_sec, t.tv_nsec, info->si_value.sival_int, |
info->si_task); |
sys_abort(1); |
} |
|
166,7 → 166,7 |
void byebye(void *arg) |
{ |
grx_close(); |
kern_printf("Bye Bye!\n"); |
cprintf("Bye Bye!\n"); |
} |
|
/****************************** MAIN ******************************/ |
201,10 → 201,9 |
} |
|
if (grx_open(640, 480, 8) < 0) { |
kern_printf("GRX Err\n"); |
cprintf("GRX Err\n"); |
sys_abort(1); |
} |
kern_printf("Video card ok!\n"); |
|
/* set the keyboard handler to exit correctly */ |
emerg.ascii = 'x'; |