Prevents abort with m68K (#1012)

* Prevents abort with m68K

Raises exception instead

* M68K remove one uses of abort

* Less aborts and logs instead for M68K
This commit is contained in:
Catena cyber
2018-09-16 15:50:35 +02:00
committed by Nguyen Anh Quynh
parent 4a86318cf4
commit 910999d396
2 changed files with 10 additions and 7 deletions

View File

@ -142,8 +142,9 @@ void HELPER(movec)(CPUM68KState *env, uint32_t reg, uint32_t val)
break;
/* TODO: Implement control registers. */
default:
cpu_abort(CPU(cpu), "Unimplemented control register write 0x%x = 0x%x\n",
reg, val);
qemu_log("Unimplemented control register write 0x%x = 0x%x\n",
reg, val);
raise_exception(env, EXCP_UNSUPPORTED);
}
}