tconfig.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* M32R target configuration file. -*- C -*- */
  2. #ifndef M32R_TCONFIG_H
  3. #define M32R_TCONFIG_H
  4. /* Define this if the simulator can vary the size of memory.
  5. See the xxx simulator for an example.
  6. This enables the `-m size' option.
  7. The memory size is stored in STATE_MEM_SIZE. */
  8. /* Not used for M32R since we use the memory module. */
  9. /* #define SIM_HAVE_MEM_SIZE */
  10. /* See sim-hload.c. We properly handle LMA. */
  11. #define SIM_HANDLES_LMA 1
  12. /* For MSPR support. FIXME: revisit. */
  13. #define WITH_DEVICES 1
  14. #if 0
  15. /* Enable watchpoints. */
  16. #define WITH_WATCHPOINTS 1
  17. #endif
  18. /* Define this to enable the intrinsic breakpoint mechanism. */
  19. /* FIXME: may be able to remove SIM_HAVE_BREAKPOINT since it essentially
  20. duplicates ifdef SIM_BREAKPOINT (right?) */
  21. #if 0
  22. #define SIM_HAVE_BREAKPOINTS
  23. #define SIM_BREAKPOINT { 0x10, 0xf1 }
  24. #define SIM_BREAKPOINT_SIZE 2
  25. #endif
  26. /* This is a global setting. Different cpu families can't mix-n-match -scache
  27. and -pbb. However some cpu families may use -simple while others use
  28. one of -scache/-pbb. */
  29. #define WITH_SCACHE_PBB 1
  30. #endif /* M32R_TCONFIG_H */