xt_debug.h 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. /* Definitions for the xt_debug TIE package */
  2. /*
  3. * Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
  4. * These coded instructions, statements, and computer programs are the
  5. * copyrighted works and confidential proprietary information of Tensilica Inc.
  6. * They may not be modified, copied, reproduced, distributed, or disclosed to
  7. * third parties in any manner, medium, or form, in whole or in part, without
  8. * the prior written consent of Tensilica Inc.
  9. */
  10. /* Do not modify. This is automatically generated.*/
  11. #ifndef _XTENSA_xt_debug_HEADER
  12. #define _XTENSA_xt_debug_HEADER
  13. #ifdef __XTENSA__
  14. #ifdef __XCC__
  15. #include <xtensa/tie/xt_core.h>
  16. /*
  17. * The following prototypes describe intrinsic functions
  18. * corresponding to TIE instructions. Some TIE instructions
  19. * may produce multiple results (designated as "out" operands
  20. * in the iclass section) or may have operands used as both
  21. * inputs and outputs (designated as "inout"). However, the C
  22. * and C++ languages do not provide syntax that can express
  23. * the in/out/inout constraints of TIE intrinsics.
  24. * Nevertheless, the compiler understands these constraints
  25. * and will check that the intrinsic functions are used
  26. * correctly. To improve the readability of these prototypes,
  27. * the "out" and "inout" parameters are marked accordingly
  28. * with comments.
  29. */
  30. extern void _TIE_xt_debug_BREAK(immediate imms, immediate immt);
  31. extern void _TIE_xt_debug_BREAK_N(immediate imms);
  32. extern unsigned _TIE_xt_debug_RSR_DBREAKA0(void);
  33. extern void _TIE_xt_debug_WSR_DBREAKA0(unsigned art);
  34. extern void _TIE_xt_debug_XSR_DBREAKA0(unsigned art /*inout*/);
  35. extern unsigned _TIE_xt_debug_RSR_DBREAKC0(void);
  36. extern void _TIE_xt_debug_WSR_DBREAKC0(unsigned art);
  37. extern void _TIE_xt_debug_XSR_DBREAKC0(unsigned art /*inout*/);
  38. extern unsigned _TIE_xt_debug_RSR_DBREAKA1(void);
  39. extern void _TIE_xt_debug_WSR_DBREAKA1(unsigned art);
  40. extern void _TIE_xt_debug_XSR_DBREAKA1(unsigned art /*inout*/);
  41. extern unsigned _TIE_xt_debug_RSR_DBREAKC1(void);
  42. extern void _TIE_xt_debug_WSR_DBREAKC1(unsigned art);
  43. extern void _TIE_xt_debug_XSR_DBREAKC1(unsigned art /*inout*/);
  44. extern unsigned _TIE_xt_debug_RSR_IBREAKA0(void);
  45. extern void _TIE_xt_debug_WSR_IBREAKA0(unsigned art);
  46. extern void _TIE_xt_debug_XSR_IBREAKA0(unsigned art /*inout*/);
  47. extern unsigned _TIE_xt_debug_RSR_IBREAKA1(void);
  48. extern void _TIE_xt_debug_WSR_IBREAKA1(unsigned art);
  49. extern void _TIE_xt_debug_XSR_IBREAKA1(unsigned art /*inout*/);
  50. extern unsigned _TIE_xt_debug_RSR_IBREAKENABLE(void);
  51. extern void _TIE_xt_debug_WSR_IBREAKENABLE(unsigned art);
  52. extern void _TIE_xt_debug_XSR_IBREAKENABLE(unsigned art /*inout*/);
  53. extern unsigned _TIE_xt_debug_RSR_DEBUGCAUSE(void);
  54. extern void _TIE_xt_debug_WSR_DEBUGCAUSE(unsigned art);
  55. extern void _TIE_xt_debug_XSR_DEBUGCAUSE(unsigned art /*inout*/);
  56. extern unsigned _TIE_xt_debug_RSR_ICOUNT(void);
  57. extern void _TIE_xt_debug_WSR_ICOUNT(unsigned art);
  58. extern void _TIE_xt_debug_XSR_ICOUNT(unsigned art /*inout*/);
  59. extern unsigned _TIE_xt_debug_RSR_ICOUNTLEVEL(void);
  60. extern void _TIE_xt_debug_WSR_ICOUNTLEVEL(unsigned art);
  61. extern void _TIE_xt_debug_XSR_ICOUNTLEVEL(unsigned art /*inout*/);
  62. extern unsigned _TIE_xt_debug_RSR_DDR(void);
  63. extern void _TIE_xt_debug_WSR_DDR(unsigned art);
  64. extern void _TIE_xt_debug_XSR_DDR(unsigned art /*inout*/);
  65. extern void _TIE_xt_debug_LDDR32_P(const void * ars /*inout*/);
  66. extern void _TIE_xt_debug_SDDR32_P(void * ars /*inout*/);
  67. #define XT_BREAK _TIE_xt_debug_BREAK
  68. #define XT_BREAK_N _TIE_xt_debug_BREAK_N
  69. #define XT_RSR_DBREAKA0 _TIE_xt_debug_RSR_DBREAKA0
  70. #define XT_WSR_DBREAKA0 _TIE_xt_debug_WSR_DBREAKA0
  71. #define XT_XSR_DBREAKA0 _TIE_xt_debug_XSR_DBREAKA0
  72. #define XT_RSR_DBREAKC0 _TIE_xt_debug_RSR_DBREAKC0
  73. #define XT_WSR_DBREAKC0 _TIE_xt_debug_WSR_DBREAKC0
  74. #define XT_XSR_DBREAKC0 _TIE_xt_debug_XSR_DBREAKC0
  75. #define XT_RSR_DBREAKA1 _TIE_xt_debug_RSR_DBREAKA1
  76. #define XT_WSR_DBREAKA1 _TIE_xt_debug_WSR_DBREAKA1
  77. #define XT_XSR_DBREAKA1 _TIE_xt_debug_XSR_DBREAKA1
  78. #define XT_RSR_DBREAKC1 _TIE_xt_debug_RSR_DBREAKC1
  79. #define XT_WSR_DBREAKC1 _TIE_xt_debug_WSR_DBREAKC1
  80. #define XT_XSR_DBREAKC1 _TIE_xt_debug_XSR_DBREAKC1
  81. #define XT_RSR_IBREAKA0 _TIE_xt_debug_RSR_IBREAKA0
  82. #define XT_WSR_IBREAKA0 _TIE_xt_debug_WSR_IBREAKA0
  83. #define XT_XSR_IBREAKA0 _TIE_xt_debug_XSR_IBREAKA0
  84. #define XT_RSR_IBREAKA1 _TIE_xt_debug_RSR_IBREAKA1
  85. #define XT_WSR_IBREAKA1 _TIE_xt_debug_WSR_IBREAKA1
  86. #define XT_XSR_IBREAKA1 _TIE_xt_debug_XSR_IBREAKA1
  87. #define XT_RSR_IBREAKENABLE _TIE_xt_debug_RSR_IBREAKENABLE
  88. #define XT_WSR_IBREAKENABLE _TIE_xt_debug_WSR_IBREAKENABLE
  89. #define XT_XSR_IBREAKENABLE _TIE_xt_debug_XSR_IBREAKENABLE
  90. #define XT_RSR_DEBUGCAUSE _TIE_xt_debug_RSR_DEBUGCAUSE
  91. #define XT_WSR_DEBUGCAUSE _TIE_xt_debug_WSR_DEBUGCAUSE
  92. #define XT_XSR_DEBUGCAUSE _TIE_xt_debug_XSR_DEBUGCAUSE
  93. #define XT_RSR_ICOUNT _TIE_xt_debug_RSR_ICOUNT
  94. #define XT_WSR_ICOUNT _TIE_xt_debug_WSR_ICOUNT
  95. #define XT_XSR_ICOUNT _TIE_xt_debug_XSR_ICOUNT
  96. #define XT_RSR_ICOUNTLEVEL _TIE_xt_debug_RSR_ICOUNTLEVEL
  97. #define XT_WSR_ICOUNTLEVEL _TIE_xt_debug_WSR_ICOUNTLEVEL
  98. #define XT_XSR_ICOUNTLEVEL _TIE_xt_debug_XSR_ICOUNTLEVEL
  99. #define XT_RSR_DDR _TIE_xt_debug_RSR_DDR
  100. #define XT_WSR_DDR _TIE_xt_debug_WSR_DDR
  101. #define XT_XSR_DDR _TIE_xt_debug_XSR_DDR
  102. #define XT_LDDR32_P _TIE_xt_debug_LDDR32_P
  103. #define XT_SDDR32_P _TIE_xt_debug_SDDR32_P
  104. #endif /* __XCC__ */
  105. #endif /* __XTENSA__ */
  106. #endif /* !_XTENSA_xt_debug_HEADER */