mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
target-alpha: Implement HALT IPR.
Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
bc24270e64
commit
034ebc2753
3 changed files with 16 additions and 0 deletions
|
@ -1645,6 +1645,11 @@ static ExitStatus gen_mtpr(DisasContext *ctx, int rb, int regno)
|
|||
tcg_gen_st32_i64(tmp, cpu_env, offsetof(CPUState, halted));
|
||||
return gen_excp(ctx, EXCP_HLT, 0);
|
||||
|
||||
case 252:
|
||||
/* HALT */
|
||||
gen_helper_halt(tmp);
|
||||
return EXIT_PC_STALE;
|
||||
|
||||
default:
|
||||
/* The basic registers are data only, and unknown registers
|
||||
are read-zero, write-ignore. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue