system.c.016i.visibility 4.6 KB

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