X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Fsh2%2Fcompiler.h;h=ef1944b439ac1acbf958e56c51c2b2569b9f16eb;hb=ae7830aae15ce83a9256fb3f893efef00e53a105;hp=2c04b10b2494a8ebb238fbe06e795308333ddea7;hpb=bf092a3631694f525c3d1179b21ab8941e87e7d7;p=picodrive.git diff --git a/cpu/sh2/compiler.h b/cpu/sh2/compiler.h index 2c04b10..ef1944b 100644 --- a/cpu/sh2/compiler.h +++ b/cpu/sh2/compiler.h @@ -1,10 +1,18 @@ int sh2_drc_init(SH2 *sh2); void sh2_drc_finish(SH2 *sh2); -void sh2_drc_mem_setup(SH2 *sh2); -void sh2_drc_flush_all(void); void sh2_drc_wcheck_ram(unsigned int a, int val, int cpuid); void sh2_drc_wcheck_da(unsigned int a, int val, int cpuid); +#ifdef DRC_SH2 +void sh2_drc_mem_setup(SH2 *sh2); +void sh2_drc_flush_all(void); +void sh2_drc_frame(void); +#else +#define sh2_drc_mem_setup(x) +#define sh2_drc_flush_all() +#define sh2_drc_frame() +#endif + #define BLOCK_INSN_LIMIT 128 /* op_flags */