YetAnotherMod / qemu

QEMU with PowerPC 476 core
Other
2 stars 1 forks source link

Watchdog support #12

Open vit9696 opened 8 months ago

vit9696 commented 8 months ago

Need to implement watchdog timer interrupts.

From what I understand the main blocker is that QEMU does not properly support critical interrupts on PowerPC. Without them no proper watchdog support will be possible.

nia40m commented 8 months ago

The problem with critical interrupt exception in PPC476 was fixed in this commit 4bc2547. Now it works fine.

Watchdog controller in qemu's mb115.01 board is not implemented yet. But you should notice that watchdog controller's interrupt in mb115.01 is connected through MPIC. It means that the type of exception that it will generate depends of MPIC settings.