projects
/
ppcskel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cbp will be count up, but only with low speed devices (except my usb
[ppcskel.git]
/
irq.c
diff --git
a/irq.c
b/irq.c
index 4f15bb8b9f4e63e5f8114954125f3f043bf1c5f7..31daa980e5ac3d7d6547d38d3b97aa56f7ae96dd 100644
(file)
--- a/
irq.c
+++ b/
irq.c
@@
-16,6
+16,8
@@
Copyright (C) 2009 Andre Heider "dhewg" <dhewg@wiibrew.org>
#include "bootmii_ppc.h"
#include "usb/host/host.h"
#include "bootmii_ppc.h"
#include "usb/host/host.h"
+void show_frame_no(void);
+
void irq_initialize(void)
{
// clear flipper-pic (processor interface)
void irq_initialize(void)
{
// clear flipper-pic (processor interface)
@@
-59,6
+61,7
@@
void irq_handler(void)
if (flags & (1<<BW_PI_IRQ_RESET)) {
write32(BW_PI_IRQFLAG, 1<<BW_PI_IRQ_RESET);
if (flags & (1<<BW_PI_IRQ_RESET)) {
write32(BW_PI_IRQFLAG, 1<<BW_PI_IRQ_RESET);
+ show_frame_no();
printf("IRQ-BW RESET\n");
}
if (flags & (1<<BW_PI_IRQ_HW)) { //HW-PIC IRQ
printf("IRQ-BW RESET\n");
}
if (flags & (1<<BW_PI_IRQ_HW)) { //HW-PIC IRQ