From: Bernhard Urban Date: Wed, 23 Sep 2009 15:37:20 +0000 (+0200) Subject: will boot sysmenu when press reset button and again license stuff X-Git-Tag: demo0~3 X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=ppcskel.git;a=commitdiff_plain;h=505298a9ae4bdce58a448aea253f7bf24b069406 will boot sysmenu when press reset button and again license stuff --- diff --git a/exception.c b/exception.c index c1ccc95..f42b78b 100644 --- a/exception.c +++ b/exception.c @@ -3,6 +3,8 @@ Requires mini. Copyright (C) 2008 Segher Boessenkool +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 diff --git a/irq.c b/irq.c index 5b0241c..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 @@ -15,6 +14,7 @@ Copyright (C) 2009 Andre Heider "dhewg" #include "ipc.h" #include "bootmii_ppc.h" #include "usb/host/host.h" +#include "mini_ipc.h" void show_frame_no(void); @@ -61,9 +61,9 @@ void irq_handler(void) if (flags & (1< +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 +*/ + #ifndef __IRQ_H__ #define __IRQ_H__ diff --git a/usb/core/core.c b/usb/core/core.c index 82512b0..889fba4 100644 --- a/usb/core/core.c +++ b/usb/core/core.c @@ -121,7 +121,7 @@ struct usb_device *usb_add_device(u8 lowspeed, u32 reg) return (void*) -1; } -//#define WTF +#define WTF #ifdef WTF printf("lololololool PADDING WTF :O lolololololo \n"); printf("lolololool PADDING WTF :O lolololololo \n"); diff --git a/usb/drivers/class/hid.c b/usb/drivers/class/hid.c index ebf9f26..60d3a4d 100644 --- a/usb/drivers/class/hid.c +++ b/usb/drivers/class/hid.c @@ -29,7 +29,6 @@ void usb_hidkb_init() usb_register_driver(&hidkb); } - void usb_hidkb_probe() { struct usb_device *dev; @@ -41,8 +40,6 @@ void usb_hidkb_probe() if(dev->conf->intf->bInterfaceClass == HID_CLASSCODE && dev->conf->intf->bInterfaceSubClass == 1 && /* keyboard support boot protocol? */ dev->conf->intf->bInterfaceProtocol == 1) { /* keyboard? */ - - hidkb.data = (void*) dev; } @@ -50,7 +47,6 @@ void usb_hidkb_probe() } } - void usb_hidkb_check() { }