Home
last modified time | relevance | path

Searched refs:canrestore (Results 1 – 13 of 13) sorted by relevance

/openbmc/qemu/target/sparc/
H A Dwin_helper.c207 if (env->cleanwin - env->canrestore == 0) { in helper_save()
212 env->canrestore++; in helper_save()
223 if (env->canrestore == 0) { in helper_restore()
230 env->canrestore--; in helper_restore()
249 env->canrestore--; in helper_saved()
257 env->canrestore++; in helper_restored()
H A Dmonitor.c153 { "canrestore", offsetof(CPUSPARCState, canrestore) },
H A Dmachine.c256 VMSTATE_UINT32(env.canrestore, SPARCCPU),
H A Dcpu.h519 uint32_t cansave, canrestore, otherwin, wstate, cleanwin; member
H A Dcpu.c674 env->cansave, env->canrestore, env->otherwin, env->wstate, in sparc_cpu_dump_state()
H A Dtranslate.c3171 tcg_gen_ld32s_tl(dst, tcg_env, env64_field_offsetof(canrestore)); in do_rdcanrestore()
3543 tcg_gen_st32_tl(src, tcg_env, env64_field_offsetof(canrestore)); in do_wrcanrestore()
/openbmc/qemu/linux-user/sparc/
H A Dcpu_loop.c79 env->canrestore--; in save_window()
113 env->canrestore++; in restore_window()
134 if (env->canrestore == 0) in flush_windows()
137 env->canrestore--; in flush_windows()
H A Dtarget_cpu.h54 env->canrestore = 0; in cpu_clone_regs_child()
/openbmc/linux/arch/sparc/kernel/
H A Drtrap_64.S257 661: wrpr %l2, %g0, %canrestore
299 rdpr %canrestore, %g1
304 kern_rtt: rdpr %canrestore, %g1
H A Dhelpers.S33 rdpr %canrestore, %g2
H A Detrap_64.S96 661: rdpr %canrestore, %g3
103 661: wrpr %g0, 0, %canrestore
H A Dhvtramp.S36 wrpr %g0, 0, %canrestore
/openbmc/linux/arch/sparc/power/
H A Dhibernate_asm.S98 wrpr %g0, 0, %canrestore