enabled CP_ACCESS_ALLOWED

This commit is contained in:
bunnei 2014-05-16 00:51:59 -04:00
parent 68408ed9b9
commit f5400080bd

View File

@ -420,12 +420,10 @@ extern ARMword isize;
|| (! (STATE)->is_XScale) \
|| (read_cp15_reg (15, 0, 1) & (1 << (CP))))
*/
//#define CP_ACCESS_ALLOWED(STATE, CP) \
// (((CP) >= 14) \
// || (!(STATE)->is_XScale) \
// || (xscale_cp15_cp_access_allowed(STATE, 15, CP)))
#define CP_ACCESS_ALLOWED(STATE, CP) false // Disabled coprocessor shit /bunnei
#define CP_ACCESS_ALLOWED(STATE, CP) \
(((CP) >= 14) \
|| (!(STATE)->is_XScale) \
|| (xscale_cp15_cp_access_allowed(STATE, 15, CP)))
/* Macro to rotate n right by b bits. */
#define ROTATER(n, b) (((n) >> (b)) | ((n) << (32 - (b))))