system.c.068i.whole-program 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. Marking local functions: sys_m4_cache_init
  2. Marking externally visible functions: SystemInit Sys_GetCoreID default_interrupt_routine startup_go_to_user_mode
  3. Marking externally visible variables: RESET_CATCH_CORE
  4. Clearing variable flags:
  5. Reclaiming functions:
  6. Reclaiming variables:
  7. Clearing address taken flags:
  8. Symbol table:
  9. SystemInit/6 (SystemInit) @06da8700
  10. Type: function definition analyzed
  11. Visibility: externally_visible public section:.systeminit
  12. References:
  13. Referring:
  14. Availability: available
  15. Function flags: count:1073741824 (estimated locally) body optimize_size
  16. Called by:
  17. Calls: sys_m4_cache_init/1 (1073741824 (estimated locally),1.00 per call)
  18. Sys_GetCoreID/4 (Sys_GetCoreID) @06da8e00
  19. Type: function definition analyzed
  20. Visibility: externally_visible public
  21. References:
  22. Referring:
  23. Availability: available
  24. Function flags: count:1073741824 (estimated locally) body optimize_size
  25. Called by:
  26. Calls:
  27. default_interrupt_routine/3 (default_interrupt_routine) @06da8b60
  28. Type: function definition analyzed
  29. Visibility: externally_visible public
  30. References:
  31. Referring:
  32. Availability: available
  33. Function flags: count:107374 (estimated locally) body executed_once optimize_size
  34. Called by:
  35. Calls:
  36. startup_go_to_user_mode/2 (startup_go_to_user_mode) @06da88c0
  37. Type: function definition analyzed
  38. Visibility: externally_visible public
  39. References:
  40. Referring:
  41. Availability: available
  42. Function flags: count:1073741824 (estimated locally) body optimize_size
  43. Called by:
  44. Calls:
  45. sys_m4_cache_init/1 (sys_m4_cache_init) @06da8540
  46. Type: function definition analyzed
  47. Visibility: prevailing_def_ironly
  48. References:
  49. Referring:
  50. Availability: local
  51. Function flags: count:236223200 (estimated locally) body local optimize_size
  52. Called by: SystemInit/6 (1073741824 (estimated locally),1.00 per call)
  53. Calls:
  54. RESET_CATCH_CORE/0 (RESET_CATCH_CORE) @06da6a68
  55. Type: variable definition analyzed
  56. Visibility: externally_visible public
  57. References:
  58. Referring:
  59. Availability: available
  60. Varpool flags: initialized
  61. __attribute__((section (".systeminit")))
  62. SystemInit ()
  63. {
  64. long unsigned int _1;
  65. long unsigned int _2;
  66. long unsigned int _3;
  67. long unsigned int _4;
  68. long unsigned int _5;
  69. long unsigned int _6;
  70. <bb 2> [local count: 1073741824]:
  71. # DEBUG BEGIN_STMT
  72. _1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].CPACR;
  73. _2 = _1 | 15728640;
  74. MEM[(struct S32_SCB_Type *)3758153728B].CPACR ={v} _2;
  75. # DEBUG BEGIN_STMT
  76. __asm__ __volatile__("dsb");
  77. # DEBUG BEGIN_STMT
  78. __asm__ __volatile__("isb");
  79. # DEBUG BEGIN_STMT
  80. _3 ={v} MEM[(struct S32_SCB_Type *)3758153728B].CCR;
  81. _4 = _3 | 1;
  82. MEM[(struct S32_SCB_Type *)3758153728B].CCR ={v} _4;
  83. # DEBUG BEGIN_STMT
  84. _5 ={v} MEM[(struct S32_SCB_Type *)3758153728B].SHPR3;
  85. _6 = _5 & 4278255615;
  86. MEM[(struct S32_SCB_Type *)3758153728B].SHPR3 ={v} _6;
  87. # DEBUG BEGIN_STMT
  88. MEM[(struct AIPS_Type *)1073741824B].MPRA ={v} 2004318071;
  89. # DEBUG BEGIN_STMT
  90. MEM[(struct AIPS_Type *)1073741824B].PACRA ={v} 0;
  91. # DEBUG BEGIN_STMT
  92. MEM[(struct AIPS_Type *)1073741824B].PACRB ={v} 0;
  93. # DEBUG BEGIN_STMT
  94. MEM[(struct AIPS_Type *)1073741824B].PACRD ={v} 0;
  95. # DEBUG BEGIN_STMT
  96. MEM[(struct AIPS_Type *)1073741824B].OPACR[0] ={v} 0;
  97. # DEBUG BEGIN_STMT
  98. MEM[(struct AIPS_Type *)1073741824B].OPACR[1] ={v} 0;
  99. # DEBUG BEGIN_STMT
  100. MEM[(struct AIPS_Type *)1073741824B].OPACR[2] ={v} 0;
  101. # DEBUG BEGIN_STMT
  102. MEM[(struct AIPS_Type *)1073741824B].OPACR[3] ={v} 0;
  103. # DEBUG BEGIN_STMT
  104. MEM[(struct AIPS_Type *)1073741824B].OPACR[4] ={v} 0;
  105. # DEBUG BEGIN_STMT
  106. MEM[(struct AIPS_Type *)1073741824B].OPACR[5] ={v} 0;
  107. # DEBUG BEGIN_STMT
  108. MEM[(struct AIPS_Type *)1073741824B].OPACR[6] ={v} 0;
  109. # DEBUG BEGIN_STMT
  110. MEM[(struct AIPS_Type *)1073741824B].OPACR[7] ={v} 0;
  111. # DEBUG BEGIN_STMT
  112. MEM[(struct AIPS_Type *)1073741824B].OPACR[8] ={v} 0;
  113. # DEBUG BEGIN_STMT
  114. MEM[(struct AIPS_Type *)1073741824B].OPACR[9] ={v} 0;
  115. # DEBUG BEGIN_STMT
  116. MEM[(struct AIPS_Type *)1073741824B].OPACR[10] ={v} 0;
  117. # DEBUG BEGIN_STMT
  118. MEM[(struct AIPS_Type *)1073741824B].OPACR[11] ={v} 0;
  119. # DEBUG BEGIN_STMT
  120. __asm__ __volatile__("dsb");
  121. # DEBUG BEGIN_STMT
  122. __asm__ __volatile__("isb");
  123. # DEBUG BEGIN_STMT
  124. sys_m4_cache_init (0);
  125. return;
  126. }
  127. Sys_GetCoreID ()
  128. {
  129. <bb 2> [local count: 1073741824]:
  130. # DEBUG BEGIN_STMT
  131. return 0;
  132. }
  133. default_interrupt_routine ()
  134. {
  135. <bb 2> [local count: 107374]:
  136. <bb 3> [local count: 1073741824]:
  137. # DEBUG BEGIN_STMT
  138. # DEBUG BEGIN_STMT
  139. # DEBUG BEGIN_STMT
  140. <bb 4> [local count: 1073741824]:
  141. goto <bb 3>; [100.00%]
  142. }
  143. startup_go_to_user_mode ()
  144. {
  145. <bb 2> [local count: 1073741824]:
  146. # DEBUG BEGIN_STMT
  147. return;
  148. }
  149. sys_m4_cache_init (uint8 cache)
  150. {
  151. uint8 RetValue;
  152. long unsigned int _1;
  153. long unsigned int _2;
  154. long unsigned int _3;
  155. long unsigned int _4;
  156. long unsigned int _5;
  157. signed int _8;
  158. <bb 2> [local count: 236223200]:
  159. # DEBUG BEGIN_STMT
  160. # DEBUG RetValue => 0
  161. # DEBUG BEGIN_STMT
  162. if (cache_9(D) == 0)
  163. goto <bb 3>; [50.00%]
  164. else
  165. goto <bb 6>; [50.00%]
  166. <bb 3> [local count: 118111600]:
  167. # DEBUG BEGIN_STMT
  168. MEM[(struct LMEM_Type *)3758628864B].PCCCR ={v} 83886080;
  169. # DEBUG BEGIN_STMT
  170. _1 ={v} MEM[(struct LMEM_Type *)3758628864B].PCCCR;
  171. _2 = _1 | 2147483648;
  172. MEM[(struct LMEM_Type *)3758628864B].PCCCR ={v} _2;
  173. # DEBUG BEGIN_STMT
  174. <bb 4> [local count: 1073741824]:
  175. # DEBUG BEGIN_STMT
  176. # DEBUG BEGIN_STMT
  177. _3 ={v} MEM[(struct LMEM_Type *)3758628864B].PCCCR;
  178. _8 = (signed int) _3;
  179. if (_8 < 0)
  180. goto <bb 7>; [89.00%]
  181. else
  182. goto <bb 5>; [11.00%]
  183. <bb 7> [local count: 955630223]:
  184. goto <bb 4>; [100.00%]
  185. <bb 5> [local count: 118111601]:
  186. # DEBUG BEGIN_STMT
  187. # DEBUG BEGIN_STMT
  188. _4 ={v} MEM[(struct LMEM_Type *)3758628864B].PCCCR;
  189. _5 = _4 | 1;
  190. MEM[(struct LMEM_Type *)3758628864B].PCCCR ={v} _5;
  191. <bb 6> [local count: 236223201]:
  192. # RetValue_6 = PHI <0(5), 1(2)>
  193. # DEBUG RetValue => RetValue_6
  194. # DEBUG BEGIN_STMT
  195. return RetValue_6;
  196. }