port-work; won't compile or even work
[ppcskel.git] / exception.c
index 39a1654e6cfb6e77b1efbf6168b920670567aefd..f42b78be2da341bf1f7eeef5aa477967bc82394b 100644 (file)
@@ -3,6 +3,8 @@
        Requires mini.
 
 Copyright (C) 2008             Segher Boessenkool <segher@kernel.crashing.org>
+Copyright (C) 2009             Bernhard Urban <lewurm@gmx.net>
+Copyright (C) 2009             Sebastian Falbesoner <sebastian.falbesoner@gmail.com>
 
 # This code is licensed to you under the terms of the GNU GPL, version 2;
 # see file COPYING or http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
@@ -26,7 +28,7 @@ void exception_handler(int exception)
 
        // check if exception happened due to the decrementer
        else if (exception == 0x900) {
-               printf("\nDecrementer exception occured - who cares?\n");
+               //printf("\nDecrementer exception occured - who cares?\n");
        }
 
        else {
@@ -56,7 +58,6 @@ void exception_handler(int exception)
        }
 
        irq_restore(cookie);
-       _CPU_ISR_Enable(); //wtf
 }
 
 void exception_init(void)