Created
April 29, 2015 05:43
-
-
Save aerodame/a60cb5faa9a3dc5d565d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Kernel | |
{ | |
private static SyncQueue ioQueue; | |
... | |
public static int interrupt( int irq, int cmd, int param, Object args ) { | |
TCB myTcb; | |
switch( irq ) { | |
case INTERRUPT_SOFTWARE: // System calls | |
switch( cmd ) { | |
case BOOT: | |
... | |
ioQueue = new SyncQueue( ); | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment