system.c.016i.visibility 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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. <bb 2> :
  64. _1 = 3758153728B;
  65. _2 = _1->CPACR;
  66. _3 = 3758153728B;
  67. _4 = _2 | 15728640;
  68. _3->CPACR = _4;
  69. __asm__ __volatile__("dsb");
  70. __asm__ __volatile__("isb");
  71. _5 = 3758153728B;
  72. _6 = _5->CCR;
  73. _7 = 3758153728B;
  74. _8 = _6 | 1;
  75. _7->CCR = _8;
  76. _9 = 3758153728B;
  77. _10 = _9->SHPR3;
  78. _11 = 3758153728B;
  79. _12 = _10 & 4278255615;
  80. _11->SHPR3 = _12;
  81. _13 = 1073741824B;
  82. _13->MPRA = 2004318071;
  83. _14 = 1073741824B;
  84. _14->PACRA = 0;
  85. _15 = 1073741824B;
  86. _15->PACRB = 0;
  87. _16 = 1073741824B;
  88. _16->PACRD = 0;
  89. _17 = 1073741824B;
  90. _17->OPACR[0] = 0;
  91. _18 = 1073741824B;
  92. _18->OPACR[1] = 0;
  93. _19 = 1073741824B;
  94. _19->OPACR[2] = 0;
  95. _20 = 1073741824B;
  96. _20->OPACR[3] = 0;
  97. _21 = 1073741824B;
  98. _21->OPACR[4] = 0;
  99. _22 = 1073741824B;
  100. _22->OPACR[5] = 0;
  101. _23 = 1073741824B;
  102. _23->OPACR[6] = 0;
  103. _24 = 1073741824B;
  104. _24->OPACR[7] = 0;
  105. _25 = 1073741824B;
  106. _25->OPACR[8] = 0;
  107. _26 = 1073741824B;
  108. _26->OPACR[9] = 0;
  109. _27 = 1073741824B;
  110. _27->OPACR[10] = 0;
  111. _28 = 1073741824B;
  112. _28->OPACR[11] = 0;
  113. __asm__ __volatile__("dsb");
  114. __asm__ __volatile__("isb");
  115. sys_m4_cache_init (0);
  116. return;
  117. }
  118. Sys_GetCoreID ()
  119. {
  120. uint8 D.6226;
  121. <bb 2> :
  122. D.6226 = 0;
  123. <bb 3> :
  124. <L0>:
  125. return D.6226;
  126. }
  127. default_interrupt_routine ()
  128. {
  129. <bb 2> :
  130. goto <bb 2>; [INV]
  131. }
  132. startup_go_to_user_mode ()
  133. {
  134. <bb 2> :
  135. return;
  136. }
  137. sys_m4_cache_init (uint8 cache)
  138. {
  139. uint8 RetValue;
  140. uint8 D.6224;
  141. <bb 2> :
  142. RetValue = 0;
  143. if (cache == 0)
  144. goto <bb 3>; [INV]
  145. else
  146. goto <bb 6>; [INV]
  147. <bb 3> :
  148. _1 = 3758628864B;
  149. _1->PCCCR = 83886080;
  150. _2 = 3758628864B;
  151. _3 = _2->PCCCR;
  152. _4 = 3758628864B;
  153. _5 = _3 | 2147483648;
  154. _4->PCCCR = _5;
  155. <bb 4> :
  156. _6 = 3758628864B;
  157. _7 = _6->PCCCR;
  158. _8 = _7 & 2147483648;
  159. if (_8 == 2147483648)
  160. goto <bb 4>; [INV]
  161. else
  162. goto <bb 5>; [INV]
  163. <bb 5> :
  164. _9 = 3758628864B;
  165. _10 = _9->PCCCR;
  166. _11 = 3758628864B;
  167. _12 = _10 | 1;
  168. _11->PCCCR = _12;
  169. goto <bb 7>; [INV]
  170. <bb 6> :
  171. RetValue = 1;
  172. <bb 7> :
  173. D.6224 = RetValue;
  174. <bb 8> :
  175. <L6>:
  176. return D.6224;
  177. }