tconfig.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* FRV target configuration file. -*- C -*- */
  2. /* Define this if the simulator can vary the size of memory.
  3. See the xxx simulator for an example.
  4. This enables the `-m size' option.
  5. The memory size is stored in STATE_MEM_SIZE. */
  6. /* Not used for FRV since we use the memory module. TODO -- check this */
  7. /* #define SIM_HAVE_MEM_SIZE */
  8. /* See sim-hload.c. We properly handle LMA. -- TODO: check this */
  9. #define SIM_HANDLES_LMA 1
  10. /* For MSPR support. FIXME: revisit. */
  11. #define WITH_DEVICES 1
  12. #if 0
  13. /* Enable watchpoints. */
  14. #define WITH_WATCHPOINTS 1
  15. #endif
  16. /* ??? Temporary hack until model support unified. */
  17. #define SIM_HAVE_MODEL
  18. /* Define this to enable the intrinsic breakpoint mechanism. */
  19. /* FIXME: may be able to remove SIM_HAVE_BREAKPOINTS 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 0