void helper_tlb_flush_pid(uint32_t pid)
{
#if !defined(CONFIG_USER_ONLY)
- cris_mmu_flush_pid(env, pid);
+ pid &= 0xff;
+ if (pid != (env->pregs[PR_PID] & 0xff))
+ cris_mmu_flush_pid(env, env->pregs[PR_PID]);
#endif
}
(fprintf(logfile, "%s: a0=%x a1=%x\n", __func__, a0, a1));
}
-void helper_dummy(void)
-{
-
-}
-
/* Used by the tlb decoder. */
#define EXTRACT_FIELD(src, start, end) \
(((src) >> start) & ((1 << (end - start + 1)) - 1))
env->pregs[PR_CCS] |= M_FLAG;
}
-void helper_store(uint32_t a0)
-{
- if (env->pregs[PR_CCS] & P_FLAG )
- {
- cpu_abort(env, "cond_store_failed! pc=%x a0=%x\n",
- env->pc, a0);
- }
-}
-
void do_unassigned_access(target_phys_addr_t addr, int is_write, int is_exec,
int is_asi)
{