X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=irq.c;h=1217ee2adecf7ec606e1bdd16ea595e2fd09c918;hb=6dfa0a3162536682b5e5aced149b34240d88497b;hp=449a85c34a1e43f861f82f7ab7c90ee03a07294c;hpb=364f2c37f1b3a971f60bf67a7030c56b550b1407;p=ppcskel.git diff --git a/irq.c b/irq.c index 449a85c..1217ee2 100644 --- a/irq.c +++ b/irq.c @@ -2,9 +2,8 @@ ppcskel - a Free Software replacement for the Nintendo/BroadOn IOS. IRQ support -Copyright (C) 2008, 2009 Hector Martin "marcan" -Copyright (C) 2008, 2009 Sven Peter -Copyright (C) 2009 Andre Heider "dhewg" +Copyright (C) 2009 Bernhard Urban +Copyright (C) 2009 Sebastian Falbesoner # 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 @@ -14,7 +13,10 @@ Copyright (C) 2009 Andre Heider "dhewg" #include "hollywood.h" #include "ipc.h" #include "bootmii_ppc.h" -#include "ohci.h" +#include "usb/host/host.h" +#include "mini_ipc.h" + +void show_frame_no(void); void irq_initialize(void) { @@ -54,20 +56,19 @@ void irq_handler(void) { u32 enabled = read32(BW_PI_IRQMASK); u32 flags = read32(BW_PI_IRQFLAG); - printf( "========================\n" - "flags1: 0x%08X\n", flags); flags = flags & enabled; if (flags & (1<