void cpu_gen_init(void) { tcg_ctx_env = &tcg_ctx[cpu_index]; tcg_ctx_env->temps = tcg_ctx_env->static_temps; tcg_context_init(&tcg_ctx[cpu_index]); tcg_set_frame(&tcg_ctx[cpu_index], TCG_AREG0, offsetof(CPUState, temp_buf), CPU_TEMP_BUF_NLONGS * sizeof(long)); }
void cpu_gen_init(void) { tcg_context_init(&tcg_ctx); tcg_set_frame(&tcg_ctx, TCG_AREG0, offsetof(CPUState, temp_buf), CPU_TEMP_BUF_NLONGS * sizeof(long)); }
void cpu_gen_init(void) { tcg_context_init(&tcg_ctx); }