Home
last modified time | relevance | path

Searched refs:nested_host_state (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/ppc/
H A Dspapr_nested.c371 spapr_cpu->nested_host_state = g_try_new(struct nested_ppc_state, 1); in h_enter_nested()
372 if (!spapr_cpu->nested_host_state) { in h_enter_nested()
378 nested_save_state(spapr_cpu->nested_host_state, cpu); in h_enter_nested()
385 g_free(spapr_cpu->nested_host_state); in h_enter_nested()
465 target_ulong hv_ptr = spapr_cpu->nested_host_state->gpr[4]; in spapr_exit_nested_hv()
466 target_ulong regs_ptr = spapr_cpu->nested_host_state->gpr[5]; in spapr_exit_nested_hv()
483 nested_load_state(cpu, spapr_cpu->nested_host_state); in spapr_exit_nested_hv()
491 g_free(spapr_cpu->nested_host_state); in spapr_exit_nested_hv()
492 spapr_cpu->nested_host_state = NULL; in spapr_exit_nested_hv()
1563 cpu_ppc_store_decr(env, spapr_cpu->nested_host_state->dec_expiry_tb - now); in exit_nested_store_l2()
[all …]
/openbmc/qemu/include/hw/ppc/
H A Dspapr_cpu_core.h55 struct nested_ppc_state *nested_host_state; /* holds the L1 state while L2 executes */ member