s390x: wire up diag288 in tcg
Make the diag288 watchdog useable via tcg as well. Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
This commit is contained in:
parent
84ebd3e8c7
commit
eb569af835
|
@ -103,6 +103,10 @@ void HELPER(diag)(CPUS390XState *env, uint32_t r1, uint32_t r3, uint32_t num)
|
||||||
handle_diag_308(env, r1, r3);
|
handle_diag_308(env, r1, r3);
|
||||||
r = 0;
|
r = 0;
|
||||||
break;
|
break;
|
||||||
|
case 0x288:
|
||||||
|
/* time bomb (watchdog) */
|
||||||
|
r = handle_diag_288(env, r1, r3);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
r = -1;
|
r = -1;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue