Implement mfic and mtic

Both were no-ops, so mfic left its destination unchanged. They read and
write the interrupt enable flag that sceKernelCpuSuspendIntr/ResumeIntr
use. Only bit 0 counts for mtic, which also goes for
sceKernelCpuResumeIntr, since on hardware it's just mtic.

Adds the intr/mfic test, recorded on hardware.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
Henrik RydgårdandClaude Opus 5.5 committed 2026-09-25 11:08:13 -06:00
1 parent a9d63d2ee1
commit feb6caa3c4
5 files changed
+18 -18

No files matched your search

+1
View File
@@ -262,6 +262,7 @@ tests_good = [
"hash/sha1ctx",
"hle/check_not_used_uids",
"intr/intr",
"intr/mfic",
"intr/enablesub",
"intr/suspended",
"intr/vblank/vblank",