mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
mips user emulation
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1668 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
eeef26cd42
commit
048f6b4df7
10 changed files with 1167 additions and 18 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue