Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/guest_os_primitives/riscv64/
Dguest_context_arch.h41 static_assert(sizeof(cpu->x) == sizeof(ctx_.uc_mcontext.sc_regs)); in Save()
42 memcpy(&ctx_.uc_mcontext.sc_regs, cpu->x, sizeof(ctx_.uc_mcontext.sc_regs)); in Save()
46 ctx_.uc_mcontext.sc_regs.pc = cpu->insn_addr; in Save()
54 memcpy(cpu->x, &ctx_.uc_mcontext.sc_regs, sizeof(ctx_.uc_mcontext.sc_regs)); in Restore()
56 cpu->insn_addr = ctx_.uc_mcontext.sc_regs.pc; in Restore()
118 struct Guest_user_regs_struct sc_regs; member