system.c.060i.targetclone 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. __attribute__((section (".systeminit")))
  2. SystemInit ()
  3. {
  4. long unsigned int _1;
  5. long unsigned int _2;
  6. long unsigned int _3;
  7. long unsigned int _4;
  8. long unsigned int _5;
  9. long unsigned int _6;
  10. <bb 2> [local count: 1073741824]:
  11. # DEBUG BEGIN_STMT
  12. _1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].CPACR;
  13. _2 = _1 | 15728640;
  14. MEM[(struct S32_SCB_Type *)3758153728B].CPACR ={v} _2;
  15. # DEBUG BEGIN_STMT
  16. __asm__ __volatile__("dsb");
  17. # DEBUG BEGIN_STMT
  18. __asm__ __volatile__("isb");
  19. # DEBUG BEGIN_STMT
  20. _3 ={v} MEM[(struct S32_SCB_Type *)3758153728B].CCR;
  21. _4 = _3 | 1;
  22. MEM[(struct S32_SCB_Type *)3758153728B].CCR ={v} _4;
  23. # DEBUG BEGIN_STMT
  24. _5 ={v} MEM[(struct S32_SCB_Type *)3758153728B].SHPR3;
  25. _6 = _5 & 4278255615;
  26. MEM[(struct S32_SCB_Type *)3758153728B].SHPR3 ={v} _6;
  27. # DEBUG BEGIN_STMT
  28. MEM[(struct AIPS_Type *)1073741824B].MPRA ={v} 2004318071;
  29. # DEBUG BEGIN_STMT
  30. MEM[(struct AIPS_Type *)1073741824B].PACRA ={v} 0;
  31. # DEBUG BEGIN_STMT
  32. MEM[(struct AIPS_Type *)1073741824B].PACRB ={v} 0;
  33. # DEBUG BEGIN_STMT
  34. MEM[(struct AIPS_Type *)1073741824B].PACRD ={v} 0;
  35. # DEBUG BEGIN_STMT
  36. MEM[(struct AIPS_Type *)1073741824B].OPACR[0] ={v} 0;
  37. # DEBUG BEGIN_STMT
  38. MEM[(struct AIPS_Type *)1073741824B].OPACR[1] ={v} 0;
  39. # DEBUG BEGIN_STMT
  40. MEM[(struct AIPS_Type *)1073741824B].OPACR[2] ={v} 0;
  41. # DEBUG BEGIN_STMT
  42. MEM[(struct AIPS_Type *)1073741824B].OPACR[3] ={v} 0;
  43. # DEBUG BEGIN_STMT
  44. MEM[(struct AIPS_Type *)1073741824B].OPACR[4] ={v} 0;
  45. # DEBUG BEGIN_STMT
  46. MEM[(struct AIPS_Type *)1073741824B].OPACR[5] ={v} 0;
  47. # DEBUG BEGIN_STMT
  48. MEM[(struct AIPS_Type *)1073741824B].OPACR[6] ={v} 0;
  49. # DEBUG BEGIN_STMT
  50. MEM[(struct AIPS_Type *)1073741824B].OPACR[7] ={v} 0;
  51. # DEBUG BEGIN_STMT
  52. MEM[(struct AIPS_Type *)1073741824B].OPACR[8] ={v} 0;
  53. # DEBUG BEGIN_STMT
  54. MEM[(struct AIPS_Type *)1073741824B].OPACR[9] ={v} 0;
  55. # DEBUG BEGIN_STMT
  56. MEM[(struct AIPS_Type *)1073741824B].OPACR[10] ={v} 0;
  57. # DEBUG BEGIN_STMT
  58. MEM[(struct AIPS_Type *)1073741824B].OPACR[11] ={v} 0;
  59. # DEBUG BEGIN_STMT
  60. __asm__ __volatile__("dsb");
  61. # DEBUG BEGIN_STMT
  62. __asm__ __volatile__("isb");
  63. # DEBUG BEGIN_STMT
  64. sys_m4_cache_init (0);
  65. return;
  66. }
  67. Sys_GetCoreID ()
  68. {
  69. <bb 2> [local count: 1073741824]:
  70. # DEBUG BEGIN_STMT
  71. return 0;
  72. }
  73. default_interrupt_routine ()
  74. {
  75. <bb 2> [local count: 107374]:
  76. <bb 3> [local count: 1073741824]:
  77. # DEBUG BEGIN_STMT
  78. # DEBUG BEGIN_STMT
  79. # DEBUG BEGIN_STMT
  80. <bb 4> [local count: 1073741824]:
  81. goto <bb 3>; [100.00%]
  82. }
  83. startup_go_to_user_mode ()
  84. {
  85. <bb 2> [local count: 1073741824]:
  86. # DEBUG BEGIN_STMT
  87. return;
  88. }
  89. sys_m4_cache_init (uint8 cache)
  90. {
  91. uint8 RetValue;
  92. long unsigned int _1;
  93. long unsigned int _2;
  94. long unsigned int _3;
  95. long unsigned int _4;
  96. long unsigned int _5;
  97. signed int _8;
  98. <bb 2> [local count: 236223200]:
  99. # DEBUG BEGIN_STMT
  100. # DEBUG RetValue => 0
  101. # DEBUG BEGIN_STMT
  102. if (cache_9(D) == 0)
  103. goto <bb 3>; [50.00%]
  104. else
  105. goto <bb 6>; [50.00%]
  106. <bb 3> [local count: 118111600]:
  107. # DEBUG BEGIN_STMT
  108. MEM[(struct LMEM_Type *)3758628864B].PCCCR ={v} 83886080;
  109. # DEBUG BEGIN_STMT
  110. _1 ={v} MEM[(struct LMEM_Type *)3758628864B].PCCCR;
  111. _2 = _1 | 2147483648;
  112. MEM[(struct LMEM_Type *)3758628864B].PCCCR ={v} _2;
  113. # DEBUG BEGIN_STMT
  114. <bb 4> [local count: 1073741824]:
  115. # DEBUG BEGIN_STMT
  116. # DEBUG BEGIN_STMT
  117. _3 ={v} MEM[(struct LMEM_Type *)3758628864B].PCCCR;
  118. _8 = (signed int) _3;
  119. if (_8 < 0)
  120. goto <bb 7>; [89.00%]
  121. else
  122. goto <bb 5>; [11.00%]
  123. <bb 7> [local count: 955630223]:
  124. goto <bb 4>; [100.00%]
  125. <bb 5> [local count: 118111601]:
  126. # DEBUG BEGIN_STMT
  127. # DEBUG BEGIN_STMT
  128. _4 ={v} MEM[(struct LMEM_Type *)3758628864B].PCCCR;
  129. _5 = _4 | 1;
  130. MEM[(struct LMEM_Type *)3758628864B].PCCCR ={v} _5;
  131. <bb 6> [local count: 236223201]:
  132. # RetValue_6 = PHI <0(5), 1(2)>
  133. # DEBUG RetValue => RetValue_6
  134. # DEBUG BEGIN_STMT
  135. return RetValue_6;
  136. }