Revision 0eaef5aa target-mips/helper.h

b/target-mips/helper.h
41 41
DEF_HELPER(target_ulong, do_msachi, (target_ulong t0, target_ulong t1))
42 42
DEF_HELPER(target_ulong, do_msachiu, (target_ulong t0, target_ulong t1))
43 43

  
44
/* CP0 helpers */
45 44
#ifndef CONFIG_USER_ONLY
45
/* CP0 helpers */
46 46
DEF_HELPER(target_ulong, do_mfc0_mvpcontrol, (void))
47 47
DEF_HELPER(target_ulong, do_mfc0_mvpconf0, (void))
48 48
DEF_HELPER(target_ulong, do_mfc0_mvpconf1, (void))
......
135 135
DEF_HELPER(void, do_mtc0_datalo, (target_ulong t0))
136 136
DEF_HELPER(void, do_mtc0_taghi, (target_ulong t0))
137 137
DEF_HELPER(void, do_mtc0_datahi, (target_ulong t0))
138
#endif /* !CONFIG_USER_ONLY */
139 138

  
140 139
/* MIPS MT functions */
141 140
DEF_HELPER(target_ulong, do_mftgpr, (target_ulong t0, uint32_t sel))
......
152 151
DEF_HELPER(target_ulong, do_emt, (target_ulong t0))
153 152
DEF_HELPER(target_ulong, do_dvpe, (target_ulong t0))
154 153
DEF_HELPER(target_ulong, do_evpe, (target_ulong t0))
154
#endif /* !CONFIG_USER_ONLY */
155 155
DEF_HELPER(void, do_fork, (target_ulong t0, target_ulong t1))
156 156
DEF_HELPER(target_ulong, do_yield, (target_ulong t0))
157 157

  
......
257 257
#undef FOP_PROTO
258 258

  
259 259
/* Special functions */
260
#ifndef CONFIG_USER_ONLY
260 261
DEF_HELPER(target_ulong, do_di, (void))
261 262
DEF_HELPER(target_ulong, do_ei, (void))
262 263
DEF_HELPER(void, do_eret, (void))
263 264
DEF_HELPER(void, do_deret, (void))
265
#endif /* !CONFIG_USER_ONLY */
264 266
DEF_HELPER(target_ulong, do_rdhwr_cpunum, (void))
265 267
DEF_HELPER(target_ulong, do_rdhwr_synci_step, (void))
266 268
DEF_HELPER(target_ulong, do_rdhwr_cc, (void))

Also available in: Unified diff