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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. Marking local functions:
  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. Reclaiming functions:
  5. Reclaiming variables:
  6. Clearing address taken flags:
  7. Symbol table:
  8. SystemInit/6 (SystemInit) @06e6d700
  9. Type: function definition analyzed
  10. Visibility: force_output externally_visible no_reorder public section:.systeminit
  11. References:
  12. Referring:
  13. Availability: available
  14. Function flags: body
  15. Called by:
  16. Calls: sys_m4_cache_init/1
  17. Sys_GetCoreID/4 (Sys_GetCoreID) @06e6de00
  18. Type: function definition analyzed
  19. Visibility: force_output externally_visible no_reorder public
  20. References:
  21. Referring:
  22. Availability: available
  23. Function flags: body
  24. Called by:
  25. Calls:
  26. default_interrupt_routine/3 (default_interrupt_routine) @06e6db60
  27. Type: function definition analyzed
  28. Visibility: force_output externally_visible no_reorder public
  29. References:
  30. Referring:
  31. Availability: available
  32. Function flags: body
  33. Called by:
  34. Calls:
  35. startup_go_to_user_mode/2 (startup_go_to_user_mode) @06e6d8c0
  36. Type: function definition analyzed
  37. Visibility: force_output externally_visible no_reorder public
  38. References:
  39. Referring:
  40. Availability: available
  41. Function flags: body
  42. Called by:
  43. Calls:
  44. sys_m4_cache_init/1 (sys_m4_cache_init) @06e6d540
  45. Type: function definition analyzed
  46. Visibility: force_output no_reorder prevailing_def_ironly
  47. References:
  48. Referring:
  49. Availability: available
  50. Function flags: body
  51. Called by: SystemInit/6
  52. Calls:
  53. RESET_CATCH_CORE/0 (RESET_CATCH_CORE) @06e6ba68
  54. Type: variable definition analyzed
  55. Visibility: force_output externally_visible no_reorder public
  56. References:
  57. Referring:
  58. Availability: available
  59. Varpool flags: initialized
  60. __attribute__((section (".systeminit")))
  61. SystemInit ()
  62. {
  63. struct S32_SCB_Type * _1;
  64. long unsigned int _2;
  65. struct S32_SCB_Type * _3;
  66. long unsigned int _4;
  67. struct S32_SCB_Type * _5;
  68. long unsigned int _6;
  69. struct S32_SCB_Type * _7;
  70. long unsigned int _8;
  71. struct S32_SCB_Type * _9;
  72. long unsigned int _10;
  73. struct S32_SCB_Type * _11;
  74. long unsigned int _12;
  75. struct AIPS_Type * _13;
  76. struct AIPS_Type * _14;
  77. struct AIPS_Type * _15;
  78. struct AIPS_Type * _16;
  79. struct AIPS_Type * _17;
  80. struct AIPS_Type * _18;
  81. struct AIPS_Type * _19;
  82. struct AIPS_Type * _20;
  83. struct AIPS_Type * _21;
  84. struct AIPS_Type * _22;
  85. struct AIPS_Type * _23;
  86. struct AIPS_Type * _24;
  87. struct AIPS_Type * _25;
  88. struct AIPS_Type * _26;
  89. struct AIPS_Type * _27;
  90. struct AIPS_Type * _28;
  91. <bb 2> :
  92. _1 = 3758153728B;
  93. _2 ={v} _1->CPACR;
  94. _3 = 3758153728B;
  95. _4 = _2 | 15728640;
  96. _3->CPACR ={v} _4;
  97. __asm__ __volatile__("dsb");
  98. __asm__ __volatile__("isb");
  99. _5 = 3758153728B;
  100. _6 ={v} _5->CCR;
  101. _7 = 3758153728B;
  102. _8 = _6 | 1;
  103. _7->CCR ={v} _8;
  104. _9 = 3758153728B;
  105. _10 ={v} _9->SHPR3;
  106. _11 = 3758153728B;
  107. _12 = _10 & 4278255615;
  108. _11->SHPR3 ={v} _12;
  109. _13 = 1073741824B;
  110. _13->MPRA ={v} 2004318071;
  111. _14 = 1073741824B;
  112. _14->PACRA ={v} 0;
  113. _15 = 1073741824B;
  114. _15->PACRB ={v} 0;
  115. _16 = 1073741824B;
  116. _16->PACRD ={v} 0;
  117. _17 = 1073741824B;
  118. _17->OPACR[0] ={v} 0;
  119. _18 = 1073741824B;
  120. _18->OPACR[1] ={v} 0;
  121. _19 = 1073741824B;
  122. _19->OPACR[2] ={v} 0;
  123. _20 = 1073741824B;
  124. _20->OPACR[3] ={v} 0;
  125. _21 = 1073741824B;
  126. _21->OPACR[4] ={v} 0;
  127. _22 = 1073741824B;
  128. _22->OPACR[5] ={v} 0;
  129. _23 = 1073741824B;
  130. _23->OPACR[6] ={v} 0;
  131. _24 = 1073741824B;
  132. _24->OPACR[7] ={v} 0;
  133. _25 = 1073741824B;
  134. _25->OPACR[8] ={v} 0;
  135. _26 = 1073741824B;
  136. _26->OPACR[9] ={v} 0;
  137. _27 = 1073741824B;
  138. _27->OPACR[10] ={v} 0;
  139. _28 = 1073741824B;
  140. _28->OPACR[11] ={v} 0;
  141. __asm__ __volatile__("dsb");
  142. __asm__ __volatile__("isb");
  143. sys_m4_cache_init (0);
  144. return;
  145. }
  146. Sys_GetCoreID ()
  147. {
  148. uint8 D.6226;
  149. uint8 _1;
  150. <bb 2> :
  151. _1 = 0;
  152. <bb 3> :
  153. <L0>:
  154. return _1;
  155. }
  156. default_interrupt_routine ()
  157. {
  158. <bb 2> :
  159. goto <bb 2>; [INV]
  160. }
  161. startup_go_to_user_mode ()
  162. {
  163. <bb 2> :
  164. return;
  165. }
  166. sys_m4_cache_init (uint8 cache)
  167. {
  168. uint8 RetValue;
  169. uint8 D.6224;
  170. struct LMEM_Type * _1;
  171. struct LMEM_Type * _2;
  172. long unsigned int _3;
  173. struct LMEM_Type * _4;
  174. long unsigned int _5;
  175. struct LMEM_Type * _6;
  176. long unsigned int _7;
  177. long unsigned int _8;
  178. struct LMEM_Type * _9;
  179. long unsigned int _10;
  180. struct LMEM_Type * _11;
  181. long unsigned int _12;
  182. uint8 _22;
  183. <bb 2> :
  184. RetValue_15 = 0;
  185. if (cache_16(D) == 0)
  186. goto <bb 3>; [INV]
  187. else
  188. goto <bb 6>; [INV]
  189. <bb 3> :
  190. _1 = 3758628864B;
  191. _1->PCCCR ={v} 83886080;
  192. _2 = 3758628864B;
  193. _3 ={v} _2->PCCCR;
  194. _4 = 3758628864B;
  195. _5 = _3 | 2147483648;
  196. _4->PCCCR ={v} _5;
  197. <bb 4> :
  198. _6 = 3758628864B;
  199. _7 ={v} _6->PCCCR;
  200. _8 = _7 & 2147483648;
  201. if (_8 == 2147483648)
  202. goto <bb 4>; [INV]
  203. else
  204. goto <bb 5>; [INV]
  205. <bb 5> :
  206. _9 = 3758628864B;
  207. _10 ={v} _9->PCCCR;
  208. _11 = 3758628864B;
  209. _12 = _10 | 1;
  210. _11->PCCCR ={v} _12;
  211. goto <bb 7>; [INV]
  212. <bb 6> :
  213. RetValue_17 = 1;
  214. <bb 7> :
  215. # RetValue_13 = PHI <RetValue_15(5), RetValue_17(6)>
  216. _22 = RetValue_13;
  217. <bb 8> :
  218. <L6>:
  219. return _22;
  220. }