Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1098 → Rev 1097

/demos/trunk/base/ego.c
18,11 → 18,11
 
/**
------------
CVS : $Id: ego.c,v 1.2 2002-10-28 08:11:29 pj Exp $
CVS : $Id: ego.c,v 1.1.1.1 2002-09-02 09:37:41 pj Exp $
 
File: $File$
Revision: $Revision: 1.2 $
Last update: $Date: 2002-10-28 08:11:29 $
Revision: $Revision: 1.1.1.1 $
Last update: $Date: 2002-09-02 09:37:41 $
------------
**/
 
126,12 → 126,12
/* Default action for an kern exception is */
kern_cli();
ll_gettime(TIME_EXACT, &t),
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);
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);
sys_abort(1);
}
 
166,7 → 166,7
void byebye(void *arg)
{
grx_close();
cprintf("Bye Bye!\n");
kern_printf("Bye Bye!\n");
}
 
/****************************** MAIN ******************************/
201,9 → 201,10
}
 
if (grx_open(640, 480, 8) < 0) {
cprintf("GRX Err\n");
kern_printf("GRX Err\n");
sys_abort(1);
}
kern_printf("Video card ok!\n");
 
/* set the keyboard handler to exit correctly */
emerg.ascii = 'x';