diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-26 18:47:20 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-26 18:47:20 +0000 |
commit | 048f6b4df7ca3be292f40f7f56fd4e48edcabbe9 (patch) | |
tree | 2d297f570bdc37d620a882181d2dcf8917fcc8b8 /target-mips | |
parent | eeef26cd428b584a8211cc42185585c840b778f4 (diff) | |
download | qemu-048f6b4df7ca3be292f40f7f56fd4e48edcabbe9.zip qemu-048f6b4df7ca3be292f40f7f56fd4e48edcabbe9.tar.gz qemu-048f6b4df7ca3be292f40f7f56fd4e48edcabbe9.tar.bz2 |
mips user emulation
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1668 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips')
-rw-r--r-- | target-mips/op_helper.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c index b8397be..cb4789c 100644 --- a/target-mips/op_helper.c +++ b/target-mips/op_helper.c @@ -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) |