Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1085 → Rev 1143

/demos/tags/rel_0_5/jumpball/demo.c
18,11 → 18,11
 
/**
------------
CVS : $Id: demo.c,v 1.1.1.1 2002-09-02 09:37:41 pj Exp $
CVS : $Id: demo.c,v 1.3 2003-01-07 17:10:17 pj Exp $
 
File: $File$
Revision: $Revision: 1.1.1.1 $
Last update: $Date: 2002-09-02 09:37:41 $
Revision: $Revision: 1.3 $
Last update: $Date: 2003-01-07 17:10:17 $
------------
**/
 
144,9 → 144,9
 
/* Default action for an kern exception is */
kern_cli();
ll_gettime(TIME_EXACT, &t),
kern_gettime(&t),
kern_printf("\nS.Ha.R.K. Exception raised!!!"
"\nTime (s:ns) :%d:%d"
"\nTime (s:ns) :%ld:%ld"
"\nException number:%d"
"\nPID :%d\n",
t.tv_sec, t.tv_nsec, info->si_value.sival_int,
182,8 → 182,8
grx_close();
kern_cli();
for (p = firstevent; p != NULL; p = p->next) {
kern_printf("par:%d time:%d.%d p:%d handler:%d\n",
p->par, p->time.tv_sec, p->time.tv_nsec/1000, p, p->handler);
kern_printf("par:%d time:%ld.%ld p:%d handler:%d\n",
(int)p->par, p->time.tv_sec, p->time.tv_nsec/1000, (int)p, (int)p->handler);
}
kern_sti();
}
216,7 → 216,6
k.ascii = 13;
keyb_hook(k,endfun);
 
set_exchandler_grx();
sys_atrunlevel(my_close, NULL, RUNLEVEL_BEFORE_EXIT);