startup.c.060i.targetclone 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. init_data_bss ()
  2. {
  3. const uint32 * zeroTable_Ptr;
  4. const uint32 * initTable_Ptr;
  5. uint32 j;
  6. uint32 i;
  7. uint32 size;
  8. uint32 len;
  9. uint8 * ram;
  10. const uint8 * rom;
  11. const struct Sys_ZeroLayoutType * zero_layout;
  12. const struct Sys_CopyLayoutType * copy_layout;
  13. long unsigned int _1;
  14. const struct Sys_CopyLayoutType * _2;
  15. long unsigned int _3;
  16. const struct Sys_CopyLayoutType * _4;
  17. long unsigned int _5;
  18. const struct Sys_CopyLayoutType * _6;
  19. uint8 * _7;
  20. long unsigned int _8;
  21. long unsigned int _9;
  22. const struct Sys_CopyLayoutType * _10;
  23. uint8 * _11;
  24. long unsigned int _12;
  25. const uint8 * _13;
  26. uint8 * _14;
  27. unsigned char _15;
  28. long unsigned int _16;
  29. const struct Sys_ZeroLayoutType * _17;
  30. long unsigned int _18;
  31. const struct Sys_ZeroLayoutType * _19;
  32. uint8 * _20;
  33. long unsigned int _21;
  34. long unsigned int _22;
  35. const struct Sys_ZeroLayoutType * _23;
  36. uint8 * _24;
  37. long unsigned int _25;
  38. uint8 * _26;
  39. <bb 2> :
  40. len_35 = 0;
  41. size_36 = 0;
  42. i_37 = 0;
  43. j_38 = 0;
  44. initTable_Ptr_39 = &__INIT_TABLE;
  45. zeroTable_Ptr_40 = &__ZERO_TABLE;
  46. len_42 = *initTable_Ptr_39;
  47. initTable_Ptr_43 = initTable_Ptr_39 + 4;
  48. copy_layout_44 = initTable_Ptr_43;
  49. i_45 = 0;
  50. goto <bb 7>; [INV]
  51. <bb 3> :
  52. _1 = i_27 * 12;
  53. _2 = copy_layout_44 + _1;
  54. rom_56 = _2->rom_start;
  55. _3 = i_27 * 12;
  56. _4 = copy_layout_44 + _3;
  57. ram_57 = _4->ram_start;
  58. _5 = i_27 * 12;
  59. _6 = copy_layout_44 + _5;
  60. _7 = _6->rom_end;
  61. _8 = (long unsigned int) _7;
  62. _9 = i_27 * 12;
  63. _10 = copy_layout_44 + _9;
  64. _11 = _10->rom_start;
  65. _12 = (long unsigned int) _11;
  66. size_58 = _8 - _12;
  67. j_59 = 0;
  68. goto <bb 5>; [INV]
  69. <bb 4> :
  70. _13 = rom_56 + j_29;
  71. _14 = ram_57 + j_29;
  72. _15 = *_13;
  73. *_14 = _15;
  74. j_62 = j_29 + 1;
  75. <bb 5> :
  76. # j_29 = PHI <j_59(3), j_62(4)>
  77. if (j_29 < size_58)
  78. goto <bb 4>; [INV]
  79. else
  80. goto <bb 6>; [INV]
  81. <bb 6> :
  82. i_60 = i_27 + 1;
  83. <bb 7> :
  84. # i_27 = PHI <i_45(2), i_60(6)>
  85. if (i_27 < len_42)
  86. goto <bb 3>; [INV]
  87. else
  88. goto <bb 8>; [INV]
  89. <bb 8> :
  90. len_46 = *zeroTable_Ptr_40;
  91. zeroTable_Ptr_47 = zeroTable_Ptr_40 + 4;
  92. zero_layout_48 = zeroTable_Ptr_47;
  93. i_49 = 0;
  94. goto <bb 13>; [INV]
  95. <bb 9> :
  96. _16 = i_28 * 8;
  97. _17 = zero_layout_48 + _16;
  98. ram_50 = _17->ram_start;
  99. _18 = i_28 * 8;
  100. _19 = zero_layout_48 + _18;
  101. _20 = _19->ram_end;
  102. _21 = (long unsigned int) _20;
  103. _22 = i_28 * 8;
  104. _23 = zero_layout_48 + _22;
  105. _24 = _23->ram_start;
  106. _25 = (long unsigned int) _24;
  107. size_51 = _21 - _25;
  108. j_52 = 0;
  109. goto <bb 11>; [INV]
  110. <bb 10> :
  111. _26 = ram_50 + j_30;
  112. *_26 = 0;
  113. j_55 = j_30 + 1;
  114. <bb 11> :
  115. # j_30 = PHI <j_52(9), j_55(10)>
  116. if (j_30 < size_51)
  117. goto <bb 10>; [INV]
  118. else
  119. goto <bb 12>; [INV]
  120. <bb 12> :
  121. i_53 = i_28 + 1;
  122. <bb 13> :
  123. # i_28 = PHI <i_49(8), i_53(12)>
  124. if (i_28 < len_46)
  125. goto <bb 9>; [INV]
  126. else
  127. goto <bb 14>; [INV]
  128. <bb 14> :
  129. return;
  130. }