added (empty) handling for decrementer exception
authortheStack <sebastian.falbesoner@gmail.com>
Wed, 2 Sep 2009 14:49:36 +0000 (16:49 +0200)
committertheStack <sebastian.falbesoner@gmail.com>
Wed, 2 Sep 2009 14:49:36 +0000 (16:49 +0200)
exception.c

index 44055f119c13c0c07fe151506582472676b9f86f..4a9eef38b9b469a66e088632993dd67febca26bf 100644 (file)
@@ -40,6 +40,12 @@ void exception_handler(int exception)
                return;
        }
 
+       // check if exception happened due to the decrementer
+       if (exception == 0x900) {
+               printf("\nDecrementer exception occured - who cares?\n");
+               return;
+       }
+
        u32 *x;
        u32 i;