Comment out tailchaining code

Allows build to continue.
This commit is contained in:
Lioncash 2018-08-16 07:11:28 -04:00
parent f26356b930
commit 9a2581aff6
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -6371,11 +6371,12 @@ static void do_v7m_exception_exit(ARMCPU *cpu)
* returning to -- none of the state we would unstack or set based on
* the EXCRET value affects it.
*/
if (armv7m_nvic_can_take_pending_exception(env->nvic)) {
// Unicorn: commented out
/*if (armv7m_nvic_can_take_pending_exception(env->nvic)) {
qemu_log_mask(CPU_LOG_INT, "...tailchaining to pending exception\n");
v7m_exception_taken(cpu, excret, true, false);
return;
}
}*/
switch_v7m_security_state(env, return_to_secure);