Lines Matching full:phys
35 uint32_t window, uint32_t phys, uint32_t n) in copy_window_from_phys() argument
37 assert(phys < env->config->nareg); in copy_window_from_phys()
38 if (phys + n <= env->config->nareg) { in copy_window_from_phys()
39 memcpy(env->regs + window, env->phys_regs + phys, in copy_window_from_phys()
42 uint32_t n1 = env->config->nareg - phys; in copy_window_from_phys()
43 memcpy(env->regs + window, env->phys_regs + phys, in copy_window_from_phys()
51 uint32_t phys, uint32_t window, uint32_t n) in copy_phys_from_window() argument
53 assert(phys < env->config->nareg); in copy_phys_from_window()
54 if (phys + n <= env->config->nareg) { in copy_phys_from_window()
55 memcpy(env->phys_regs + phys, env->regs + window, in copy_phys_from_window()
58 uint32_t n1 = env->config->nareg - phys; in copy_phys_from_window()
59 memcpy(env->phys_regs + phys, env->regs + window, in copy_phys_from_window()