Power_Ip_Private.c.068i.whole-program 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. Marking local functions:
  2. Marking externally visible functions: PowerTimeoutExpired PowerStartTimeout ReportPowerErrorsEmptyCallback ReportPowerErrors
  3. Marking externally visible variables:
  4. Reclaiming functions:
  5. Reclaiming variables:
  6. Clearing address taken flags:
  7. Symbol table:
  8. OsIf_GetElapsed/7 (OsIf_GetElapsed) @06bd78c0
  9. Type: function
  10. Visibility: external public
  11. References:
  12. Referring:
  13. Availability: not_available
  14. Function flags:
  15. Called by: PowerTimeoutExpired/3
  16. Calls:
  17. OsIf_MicrosToTicks/6 (OsIf_MicrosToTicks) @06bd7700
  18. Type: function
  19. Visibility: external public
  20. References:
  21. Referring:
  22. Availability: not_available
  23. Function flags:
  24. Called by: PowerStartTimeout/2
  25. Calls:
  26. OsIf_GetCounter/5 (OsIf_GetCounter) @06bd7620
  27. Type: function
  28. Visibility: external public
  29. References:
  30. Referring:
  31. Availability: not_available
  32. Function flags:
  33. Called by: PowerStartTimeout/2
  34. Calls:
  35. powerReportErrorsCallback/4 (powerReportErrorsCallback) @06bd8288
  36. Type: variable
  37. Body removed by symtab_remove_unreachable_nodes
  38. Visibility: external public
  39. References:
  40. Referring: ReportPowerErrors/0 (read)
  41. Availability: not_available
  42. Varpool flags:
  43. PowerTimeoutExpired/3 (PowerTimeoutExpired) @06bd7000
  44. Type: function definition analyzed
  45. Visibility: force_output externally_visible no_reorder public
  46. References:
  47. Referring:
  48. Availability: available
  49. Function flags: body
  50. Called by:
  51. Calls: OsIf_GetElapsed/7
  52. PowerStartTimeout/2 (PowerStartTimeout) @06bcdc40
  53. Type: function definition analyzed
  54. Visibility: force_output externally_visible no_reorder public
  55. References:
  56. Referring:
  57. Availability: available
  58. Function flags: body
  59. Called by:
  60. Calls: OsIf_MicrosToTicks/6 OsIf_GetCounter/5
  61. ReportPowerErrorsEmptyCallback/1 (ReportPowerErrorsEmptyCallback) @06bcde00
  62. Type: function definition analyzed
  63. Visibility: force_output externally_visible no_reorder public
  64. References:
  65. Referring:
  66. Availability: available
  67. Function flags: body
  68. Called by:
  69. Calls:
  70. ReportPowerErrors/0 (ReportPowerErrors) @06bcdb60
  71. Type: function definition analyzed
  72. Visibility: force_output externally_visible no_reorder public
  73. References: powerReportErrorsCallback/4 (read)
  74. Referring:
  75. Availability: available
  76. Function flags: body
  77. Called by:
  78. Calls:
  79. Indirect call
  80. PowerTimeoutExpired (uint32 * startTimeInOut, uint32 * elapsedTimeInOut, uint32 TimeoutTicks)
  81. {
  82. boolean D.5695;
  83. long unsigned int D.5694;
  84. long unsigned int _1;
  85. long unsigned int _2;
  86. long unsigned int _3;
  87. long unsigned int _7;
  88. boolean _11;
  89. <bb 2> :
  90. _7 = OsIf_GetElapsed (startTimeInOut_5(D), 0);
  91. _1 = *elapsedTimeInOut_8(D);
  92. _2 = _7 + _1;
  93. *elapsedTimeInOut_8(D) = _2;
  94. _3 = *elapsedTimeInOut_8(D);
  95. _11 = TimeoutTicks_10(D) <= _3;
  96. <bb 3> :
  97. <L0>:
  98. return _11;
  99. }
  100. PowerStartTimeout (uint32 * startTimeOut, uint32 * elapsedTimeOut, uint32 * timeoutTicksOut, uint32 timeoutUs)
  101. {
  102. long unsigned int _1;
  103. long unsigned int _2;
  104. <bb 2> :
  105. _1 = OsIf_GetCounter (0);
  106. *startTimeOut_5(D) = _1;
  107. *elapsedTimeOut_7(D) = 0;
  108. _2 = OsIf_MicrosToTicks (timeoutUs_9(D), 0);
  109. *timeoutTicksOut_11(D) = _2;
  110. return;
  111. }
  112. ReportPowerErrorsEmptyCallback (Power_Ip_PowerReportErrorType error, uint8 u8ErrorCode)
  113. {
  114. <bb 2> :
  115. return;
  116. }
  117. ReportPowerErrors (Power_Ip_PowerReportErrorType error, uint8 u8ErrorCode)
  118. {
  119. void (*<T4c6>) (Power_Ip_PowerReportErrorType, uint8) powerReportErrorsCallback.0_1;
  120. <bb 2> :
  121. powerReportErrorsCallback.0_1 = powerReportErrorsCallback;
  122. powerReportErrorsCallback.0_1 (error_3(D), u8ErrorCode_4(D));
  123. return;
  124. }