Merge branch 'isr_test' of git://github.com/theStack/ppcskel into isr_test
[ppcskel.git] / exception.c
index f439b149428386c03b14ae53a388526cfe4fa377..b2c5373b2f50a7eaeee780b57c52774e24b7123a 100644 (file)
@@ -26,6 +26,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;