#include "video_low.h"
#include "input.h"
#include "console.h"
+#include "ohci.h"
+#include "irq.h"
#define MINIMUM_MINI_VERSION 0x00010001
exception_init();
dsp_reset();
- // clear interrupt mask
- write32(0x0c003004, 0);
-
+ irq_initialize();
+ irq_enable(IRQ_OHCI0);
+
ipc_initialize();
ipc_slowping();
gecko_init();
input_init();
init_fb(vmode);
+ ohci_init();
VIDEO_Init(vmode);
VIDEO_SetFrameBuffer(get_xfb());
printf("bye, world!\n");
+ while(1) {
+ // just to get sure we are still in this loop
+ //wtf? _CPU_ISR_Enable() // don't know why this is needed...
+ udelay(100000);
+ printf("x");
+ }
+
return 0;
}