Searched refs:cpu_ (Results 1 – 3 of 3) sorted by relevance
51 ScopedVirtualGuestCallFrame::ScopedVirtualGuestCallFrame(CPUState* cpu, GuestAddr pc) : cpu_(cpu) { in ScopedVirtualGuestCallFrame()53 SetXReg<SP>(*cpu_, GetXReg<SP>(*cpu_) - 16); in ScopedVirtualGuestCallFrame()56 uint64_t* saved_regs = ToHostAddr<uint64_t>(GetXReg<SP>(*cpu_)); in ScopedVirtualGuestCallFrame()57 saved_regs[0] = GetXReg<FP>(*cpu_); in ScopedVirtualGuestCallFrame()58 saved_regs[1] = GetXReg<RA>(*cpu_); in ScopedVirtualGuestCallFrame()60 SetXReg<FP>(*cpu_, GetXReg<SP>(*cpu_)); in ScopedVirtualGuestCallFrame()63 stack_pointer_ = GetXReg<FP>(*cpu_); in ScopedVirtualGuestCallFrame()64 link_register_ = GetXReg<RA>(*cpu_); in ScopedVirtualGuestCallFrame()66 program_counter_ = cpu_->insn_addr; in ScopedVirtualGuestCallFrame()69 SetXReg<RA>(*cpu_, g_return_address_); in ScopedVirtualGuestCallFrame()[all …]
37 cpu_ = *cpu; in Save()51 *cpu = cpu_; in Restore()142 CPUState cpu_; variable
56 CPUState* cpu_; variable