Lines Matching refs:frameptr
766 uint32_t frameptr; in v7m_push_callee_stack() local
794 frameptr = *frame_sp_p - 0x28; in v7m_push_callee_stack()
795 if (frameptr < limit) { in v7m_push_callee_stack()
817 v7m_stack_write(cpu, frameptr, sig, mmu_idx, smode) && in v7m_push_callee_stack()
818 v7m_stack_write(cpu, frameptr + 0x8, env->regs[4], mmu_idx, smode) && in v7m_push_callee_stack()
819 v7m_stack_write(cpu, frameptr + 0xc, env->regs[5], mmu_idx, smode) && in v7m_push_callee_stack()
820 v7m_stack_write(cpu, frameptr + 0x10, env->regs[6], mmu_idx, smode) && in v7m_push_callee_stack()
821 v7m_stack_write(cpu, frameptr + 0x14, env->regs[7], mmu_idx, smode) && in v7m_push_callee_stack()
822 v7m_stack_write(cpu, frameptr + 0x18, env->regs[8], mmu_idx, smode) && in v7m_push_callee_stack()
823 v7m_stack_write(cpu, frameptr + 0x1c, env->regs[9], mmu_idx, smode) && in v7m_push_callee_stack()
824 v7m_stack_write(cpu, frameptr + 0x20, env->regs[10], mmu_idx, smode) && in v7m_push_callee_stack()
825 v7m_stack_write(cpu, frameptr + 0x24, env->regs[11], mmu_idx, smode); in v7m_push_callee_stack()
828 *frame_sp_p = frameptr; in v7m_push_callee_stack()
980 static void v7m_update_fpccr(CPUARMState *env, uint32_t frameptr, in v7m_update_fpccr() argument
1000 env->v7m.fpcar[is_secure] = frameptr & ~0x7; in v7m_update_fpccr()
1008 splimviol = !ign && frameptr < splim; in v7m_update_fpccr()
1187 uint32_t frameptr = env->regs[13]; in v7m_push_stack() local
1205 if ((frameptr & 4) && in v7m_push_stack()
1207 frameptr -= 4; in v7m_push_stack()
1217 frameptr -= framesize; in v7m_push_stack()
1222 if (frameptr < limit) { in v7m_push_stack()
1253 v7m_stack_write(cpu, frameptr, env->regs[0], mmu_idx, STACK_NORMAL) && in v7m_push_stack()
1254 v7m_stack_write(cpu, frameptr + 4, env->regs[1], in v7m_push_stack()
1256 v7m_stack_write(cpu, frameptr + 8, env->regs[2], in v7m_push_stack()
1258 v7m_stack_write(cpu, frameptr + 12, env->regs[3], in v7m_push_stack()
1260 v7m_stack_write(cpu, frameptr + 16, env->regs[12], in v7m_push_stack()
1262 v7m_stack_write(cpu, frameptr + 20, env->regs[14], in v7m_push_stack()
1264 v7m_stack_write(cpu, frameptr + 24, env->regs[15], in v7m_push_stack()
1266 v7m_stack_write(cpu, frameptr + 28, xpsr, mmu_idx, STACK_NORMAL); in v7m_push_stack()
1308 uint32_t faddr = frameptr + 0x20 + 4 * i; in v7m_push_stack()
1322 v7m_stack_write(cpu, frameptr + 0x60, in v7m_push_stack()
1326 v7m_stack_write(cpu, frameptr + 0x64, in v7m_push_stack()
1340 v7m_update_fpccr(env, frameptr + 0x20, true); in v7m_push_stack()
1351 env->regs[13] = frameptr; in v7m_push_stack()
1628 uint32_t frameptr = *frame_sp_p; in do_v7m_exception_exit() local
1637 if (!QEMU_IS_ALIGNED(frameptr, 8) && in do_v7m_exception_exit()
1650 pop_ok = v7m_stack_read(cpu, &actual_sig, frameptr, mmu_idx); in do_v7m_exception_exit()
1664 v7m_stack_read(cpu, &env->regs[4], frameptr + 0x8, mmu_idx) && in do_v7m_exception_exit()
1665 v7m_stack_read(cpu, &env->regs[5], frameptr + 0xc, mmu_idx) && in do_v7m_exception_exit()
1666 v7m_stack_read(cpu, &env->regs[6], frameptr + 0x10, mmu_idx) && in do_v7m_exception_exit()
1667 v7m_stack_read(cpu, &env->regs[7], frameptr + 0x14, mmu_idx) && in do_v7m_exception_exit()
1668 v7m_stack_read(cpu, &env->regs[8], frameptr + 0x18, mmu_idx) && in do_v7m_exception_exit()
1669 v7m_stack_read(cpu, &env->regs[9], frameptr + 0x1c, mmu_idx) && in do_v7m_exception_exit()
1670 v7m_stack_read(cpu, &env->regs[10], frameptr + 0x20, mmu_idx) && in do_v7m_exception_exit()
1671 v7m_stack_read(cpu, &env->regs[11], frameptr + 0x24, mmu_idx); in do_v7m_exception_exit()
1673 frameptr += 0x28; in do_v7m_exception_exit()
1678 v7m_stack_read(cpu, &env->regs[0], frameptr, mmu_idx) && in do_v7m_exception_exit()
1679 v7m_stack_read(cpu, &env->regs[1], frameptr + 0x4, mmu_idx) && in do_v7m_exception_exit()
1680 v7m_stack_read(cpu, &env->regs[2], frameptr + 0x8, mmu_idx) && in do_v7m_exception_exit()
1681 v7m_stack_read(cpu, &env->regs[3], frameptr + 0xc, mmu_idx) && in do_v7m_exception_exit()
1682 v7m_stack_read(cpu, &env->regs[12], frameptr + 0x10, mmu_idx) && in do_v7m_exception_exit()
1683 v7m_stack_read(cpu, &env->regs[14], frameptr + 0x14, mmu_idx) && in do_v7m_exception_exit()
1684 v7m_stack_read(cpu, &env->regs[15], frameptr + 0x18, mmu_idx) && in do_v7m_exception_exit()
1685 v7m_stack_read(cpu, &xpsr, frameptr + 0x1c, mmu_idx); in do_v7m_exception_exit()
1794 uint32_t faddr = frameptr + 0x20 + 4 * i; in do_v7m_exception_exit()
1812 v7m_stack_read(cpu, &fpscr, frameptr + 0x60, mmu_idx); in do_v7m_exception_exit()
1819 frameptr + 0x64, mmu_idx); in do_v7m_exception_exit()
1840 frameptr += 0x20; in do_v7m_exception_exit()
1842 frameptr += 0x48; in do_v7m_exception_exit()
1844 frameptr += 0x40; in do_v7m_exception_exit()
1855 frameptr |= 4; in do_v7m_exception_exit()
1857 *frame_sp_p = frameptr; in do_v7m_exception_exit()
1927 uint32_t frameptr; in do_v7m_function_return() local
1934 frameptr = *frame_sp_p; in do_v7m_function_return()
1942 newpc = cpu_ldl_mmu(env, frameptr, oi, 0); in do_v7m_function_return()
1943 newpsr = cpu_ldl_mmu(env, frameptr + 4, oi, 0); in do_v7m_function_return()
1959 *frame_sp_p = frameptr + 8; in do_v7m_function_return()