diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-07-23 16:14:22 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-07-23 16:14:22 +0000 |
commit | 0eaef5aa01a8e27b57a46217a0b65cc1d30a5d41 (patch) | |
tree | 54075667b5317724514dc1aed55a6d578e05b072 /target-mips/helper.h | |
parent | Save 3MB ioport table memory (Samuel Thibault) (diff) | |
download | qemu-kvm-0eaef5aa01a8e27b57a46217a0b65cc1d30a5d41.tar.gz qemu-kvm-0eaef5aa01a8e27b57a46217a0b65cc1d30a5d41.tar.bz2 qemu-kvm-0eaef5aa01a8e27b57a46217a0b65cc1d30a5d41.zip |
Less hardcoding of TARGET_USER_ONLY.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4928 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/helper.h')
-rw-r--r-- | target-mips/helper.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target-mips/helper.h b/target-mips/helper.h index 9d4ca82c5..ab62a1f6c 100644 --- a/target-mips/helper.h +++ b/target-mips/helper.h @@ -41,8 +41,8 @@ DEF_HELPER(target_ulong, do_macchiu, (target_ulong t0, target_ulong t1)) DEF_HELPER(target_ulong, do_msachi, (target_ulong t0, target_ulong t1)) DEF_HELPER(target_ulong, do_msachiu, (target_ulong t0, target_ulong t1)) -/* CP0 helpers */ #ifndef CONFIG_USER_ONLY +/* CP0 helpers */ DEF_HELPER(target_ulong, do_mfc0_mvpcontrol, (void)) DEF_HELPER(target_ulong, do_mfc0_mvpconf0, (void)) DEF_HELPER(target_ulong, do_mfc0_mvpconf1, (void)) @@ -135,7 +135,6 @@ DEF_HELPER(void, do_mtc0_taglo, (target_ulong t0)) DEF_HELPER(void, do_mtc0_datalo, (target_ulong t0)) DEF_HELPER(void, do_mtc0_taghi, (target_ulong t0)) DEF_HELPER(void, do_mtc0_datahi, (target_ulong t0)) -#endif /* !CONFIG_USER_ONLY */ /* MIPS MT functions */ DEF_HELPER(target_ulong, do_mftgpr, (target_ulong t0, uint32_t sel)) @@ -152,6 +151,7 @@ DEF_HELPER(target_ulong, do_dmt, (target_ulong t0)) DEF_HELPER(target_ulong, do_emt, (target_ulong t0)) DEF_HELPER(target_ulong, do_dvpe, (target_ulong t0)) DEF_HELPER(target_ulong, do_evpe, (target_ulong t0)) +#endif /* !CONFIG_USER_ONLY */ DEF_HELPER(void, do_fork, (target_ulong t0, target_ulong t1)) DEF_HELPER(target_ulong, do_yield, (target_ulong t0)) @@ -257,10 +257,12 @@ FOP_PROTO(ngt) #undef FOP_PROTO /* Special functions */ +#ifndef CONFIG_USER_ONLY DEF_HELPER(target_ulong, do_di, (void)) DEF_HELPER(target_ulong, do_ei, (void)) DEF_HELPER(void, do_eret, (void)) DEF_HELPER(void, do_deret, (void)) +#endif /* !CONFIG_USER_ONLY */ DEF_HELPER(target_ulong, do_rdhwr_cpunum, (void)) DEF_HELPER(target_ulong, do_rdhwr_synci_step, (void)) DEF_HELPER(target_ulong, do_rdhwr_cc, (void)) |