- 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:
2017-01-12 16:25:20 +00:00
parent 0f4b7e015f
commit 5c9c50ebeb
21 changed files with 129 additions and 307 deletions
+2 -2
View File
@@ -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);