Commit 12579d9
vmu: Use blocking frame locking where possible
In some places in the VMU code, genwait_wait() is used, which means that
the calling function cannot run in interrupt context. Therefore, in
those places we can wait for the maple frame to lock as it is safe to
do so.
This fixes KallistiOS#1225.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>1 parent f90427e commit 12579d9
1 file changed
Lines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
441 | | - | |
| 440 | + | |
442 | 441 | | |
443 | 442 | | |
444 | 443 | | |
| |||
516 | 515 | | |
517 | 516 | | |
518 | 517 | | |
519 | | - | |
520 | | - | |
| 518 | + | |
521 | 519 | | |
522 | 520 | | |
523 | 521 | | |
| |||
638 | 636 | | |
639 | 637 | | |
640 | 638 | | |
641 | | - | |
642 | | - | |
| 639 | + | |
643 | 640 | | |
644 | 641 | | |
645 | 642 | | |
| |||
687 | 684 | | |
688 | 685 | | |
689 | 686 | | |
690 | | - | |
691 | | - | |
| 687 | + | |
692 | 688 | | |
693 | 689 | | |
694 | 690 | | |
| |||
0 commit comments