- refactored libsys
- added critical section - added interrupt global enable/disable - added console::getInstanveByName git-svn-id: http://moon:8086/svn/mips@76 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
@@ -171,13 +171,13 @@ void _exc_dbe(void)
|
||||
|
||||
}
|
||||
|
||||
void handler0(void)
|
||||
void handler0(struct xcptcontext *xcp)
|
||||
{
|
||||
printf("Interrupt 0\n");
|
||||
interrupt_clr(0);
|
||||
}
|
||||
|
||||
void handler1(void)
|
||||
void handler1(struct xcptcontext *xcp)
|
||||
{
|
||||
printf("Interrupt 1\n");
|
||||
interrupt_clr(1);
|
||||
|
||||
Reference in New Issue
Block a user