CRIS: NMI wakes up the core.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6200 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
459e518560
commit
213fb478f8
@ -2979,8 +2979,12 @@ static unsigned int dec_rfe_etc(DisasContext *dc)
|
|||||||
{
|
{
|
||||||
cris_cc_mask(dc, 0);
|
cris_cc_mask(dc, 0);
|
||||||
|
|
||||||
if (dc->op2 == 15) /* ignore halt. */
|
if (dc->op2 == 15) {
|
||||||
|
t_gen_mov_env_TN(halted, tcg_const_tl(1));
|
||||||
|
tcg_gen_movi_tl(env_pc, dc->pc + 2);
|
||||||
|
t_gen_raise_exception(EXCP_HLT);
|
||||||
return 2;
|
return 2;
|
||||||
|
}
|
||||||
|
|
||||||
switch (dc->op2 & 7) {
|
switch (dc->op2 & 7) {
|
||||||
case 2:
|
case 2:
|
||||||
|
Loading…
Reference in New Issue
Block a user