mips user emulation

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1668 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2005-11-26 18:47:20 +00:00
parent eeef26cd42
commit 048f6b4df7
10 changed files with 1167 additions and 18 deletions

View file

@ -114,6 +114,37 @@ void do_msubu (void)
}
#endif
#if defined(CONFIG_USER_ONLY)
void do_mfc0 (int reg, int sel)
{
cpu_abort(env, "mfc0 reg=%d sel=%d\n", reg, sel);
}
void do_mtc0 (int reg, int sel)
{
cpu_abort(env, "mtc0 reg=%d sel=%d\n", reg, sel);
}
void do_tlbwi (void)
{
cpu_abort(env, "tlbwi\n");
}
void do_tlbwr (void)
{
cpu_abort(env, "tlbwr\n");
}
void do_tlbp (void)
{
cpu_abort(env, "tlbp\n");
}
void do_tlbr (void)
{
cpu_abort(env, "tlbr\n");
}
#else
/* CP0 helpers */
void do_mfc0 (int reg, int sel)
{
@ -580,6 +611,8 @@ void do_tlbr (void)
}
#endif
#endif /* !CONFIG_USER_ONLY */
void op_dump_ldst (const unsigned char *func)
{
if (loglevel)