Disable decrementer exceptions for MPC601.

This commit is contained in:
Maxim Poliakovski 2023-09-18 21:20:02 +02:00
parent c47cbb354d
commit 278799795c

View File

@ -922,6 +922,9 @@ static void update_decrementer(uint32_t val) {
dec_exception_pending = false; dec_exception_pending = false;
if (is_601)
return;
if (decrementer_timer_id) { if (decrementer_timer_id) {
//LOG_F(WARNING, "decrementer cancel timer"); //LOG_F(WARNING, "decrementer cancel timer");
TimerManager::get_instance()->cancel_timer(decrementer_timer_id); TimerManager::get_instance()->cancel_timer(decrementer_timer_id);