ADM/GW/Debug_RAM/RTD/src/Clock_Ip_Monitor.c.068i.whole-program
2024-08-08 10:00:15 +09:00

954 lines
29 KiB
Plaintext

Marking local functions:
Marking externally visible functions: Mcu_CMU_ClockFailInt
Marking externally visible variables: cmuCallbacks
Clearing variable flags:
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:
clockConfig/20 (clockConfig) @060c1ea0
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: Mcu_CMU_ClockFailInt/10 (read)
Availability: not_available
Varpool flags:
cmuEntries/19 (cmuEntries) @060c16c0
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: SetCmuFcFceRefCntLfrefHfref/7 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)Mcu_CMU_ClockFailInt/10 (read)
Availability: not_available
Varpool flags:
SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_01/18 (SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_01) @060a9460
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: DisableCmuFcFceRefCntLfrefHfref/5 (348071309 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_01/17 (SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_01) @060a92a0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: DisableCmuFcFceRefCntLfrefHfref/5 (348071309 (estimated locally),1.00 per call)
Calls:
cmu/16 (cmu) @060a8480
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: GetStatusCmuFcFceRefCntLfrefHfref/9 (read)ClearStatusCmuFcFceRefCntLfrefHfref/8 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)DisableCmuFcFceRefCntLfrefHfref/5 (read)Mcu_CMU_ClockFailInt/10 (read)
Availability: not_available
Varpool flags: read-only
ReportClockErrors/15 (ReportClockErrors) @060a9000
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Mcu_CMU_ClockFailInt/10 (198427489 (estimated locally),0.92 per call) DisableCmuFcFceRefCntLfrefHfref/5 (37904965 (estimated locally),0.11 per call) DisableCmuFcFceRefCntLfrefHfref/5 (37904965 (estimated locally),0.11 per call) SetCmuFcFceRefCntLfrefHfref/7 (37904965 (estimated locally),0.11 per call) ClearStatusCmuFcFceRefCntLfrefHfref/8 (37904965 (estimated locally),0.11 per call) GetStatusCmuFcFceRefCntLfrefHfref/9 (37904965 (estimated locally),0.11 per call)
Calls:
ClockTimeoutExpired/14 (ClockTimeoutExpired) @05f91d20
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: DisableCmuFcFceRefCntLfrefHfref/5 (1073741824 (estimated locally),3.08 per call) DisableCmuFcFceRefCntLfrefHfref/5 (1073741824 (estimated locally),3.08 per call) SetCmuFcFceRefCntLfrefHfref/7 (1073741824 (estimated locally),3.08 per call) ClearStatusCmuFcFceRefCntLfrefHfref/8 (1073741824 (estimated locally),3.08 per call) GetStatusCmuFcFceRefCntLfrefHfref/9 (1073741824 (estimated locally),3.08 per call)
Calls:
ClockStartTimeout/13 (ClockStartTimeout) @05f91a80
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: DisableCmuFcFceRefCntLfrefHfref/5 (114863532 (estimated locally),0.33 per call) DisableCmuFcFceRefCntLfrefHfref/5 (114863532 (estimated locally),0.33 per call) SetCmuFcFceRefCntLfrefHfref/7 (114863532 (estimated locally),0.33 per call) ClearStatusCmuFcFceRefCntLfrefHfref/8 (114863532 (estimated locally),0.33 per call) GetStatusCmuFcFceRefCntLfrefHfref/9 (114863532 (estimated locally),0.33 per call)
Calls:
McMeEnterKey/12 (McMeEnterKey) @05f91700
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: DisableCmuFcFceRefCntLfrefHfref/5 (114863532 (estimated locally),0.33 per call) SetCmuFcFceRefCntLfrefHfref/7 (114863532 (estimated locally),0.33 per call) ClearStatusCmuFcFceRefCntLfrefHfref/8 (114863532 (estimated locally),0.33 per call) GetStatusCmuFcFceRefCntLfrefHfref/9 (114863532 (estimated locally),0.33 per call)
Calls:
clockFeatures/11 (clockFeatures) @060a8318
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: SetCmuFcFceRefCntLfrefHfref/7 (read)DisableCmuFcFceRefCntLfrefHfref/5 (read)ClearStatusCmuFcFceRefCntLfrefHfref/8 (read)GetStatusCmuFcFceRefCntLfrefHfref/9 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)Mcu_CMU_ClockFailInt/10 (read)
Availability: not_available
Varpool flags: read-only
Mcu_CMU_ClockFailInt/10 (Mcu_CMU_ClockFailInt) @05f91c40
Type: function definition analyzed
Visibility: externally_visible public
References: cmuEntries/19 (read)clockFeatures/11 (read)cmu/16 (read)clockConfig/20 (read)
Referring:
Availability: available
Function flags: count:214748364 (estimated locally) body optimize_size
Called by:
Calls: ReportClockErrors/15 (198427489 (estimated locally),0.92 per call)
GetStatusCmuFcFceRefCntLfrefHfref/9 (GetStatusCmuFcFceRefCntLfrefHfref) @05f919a0
Type: function definition analyzed
Visibility: prevailing_def_ironly
Address is taken.
References: clockFeatures/11 (read)cmu/16 (read)
Referring: cmuCallbacks/0 (addr)
Availability: available
Function flags: count:348071309 (estimated locally) body optimize_size
Called by:
Calls: ReportClockErrors/15 (37904965 (estimated locally),0.11 per call) ClockTimeoutExpired/14 (1073741824 (estimated locally),3.08 per call) ClockStartTimeout/13 (114863532 (estimated locally),0.33 per call) McMeEnterKey/12 (114863532 (estimated locally),0.33 per call)
ClearStatusCmuFcFceRefCntLfrefHfref/8 (ClearStatusCmuFcFceRefCntLfrefHfref) @05f91620
Type: function definition analyzed
Visibility: prevailing_def_ironly
Address is taken.
References: clockFeatures/11 (read)cmu/16 (read)
Referring: cmuCallbacks/0 (addr)
Availability: available
Function flags: count:348071309 (estimated locally) body optimize_size
Called by:
Calls: ReportClockErrors/15 (37904965 (estimated locally),0.11 per call) ClockTimeoutExpired/14 (1073741824 (estimated locally),3.08 per call) ClockStartTimeout/13 (114863532 (estimated locally),0.33 per call) McMeEnterKey/12 (114863532 (estimated locally),0.33 per call)
SetCmuFcFceRefCntLfrefHfref/7 (SetCmuFcFceRefCntLfrefHfref) @05f912a0
Type: function definition analyzed
Visibility: prevailing_def_ironly
Address is taken.
References: clockFeatures/11 (read)clockFeatures/11 (read)cmu/16 (read)cmuEntries/19 (read)cmuEntries/19 (read)cmuEntries/19 (read)
Referring: cmuCallbacks/0 (addr)
Availability: available
Function flags: count:348071309 (estimated locally) body optimize_size
Called by:
Calls: ReportClockErrors/15 (37904965 (estimated locally),0.11 per call) ClockTimeoutExpired/14 (1073741824 (estimated locally),3.08 per call) ClockStartTimeout/13 (114863532 (estimated locally),0.33 per call) McMeEnterKey/12 (114863532 (estimated locally),0.33 per call)
ResetCmuFcFceRefCntLfrefHfref/6 (ResetCmuFcFceRefCntLfrefHfref) @05f8cee0
Type: function definition analyzed
Visibility: prevailing_def_ironly
Address is taken.
References:
Referring: cmuCallbacks/0 (addr)
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: DisableCmuFcFceRefCntLfrefHfref/5 (1073741824 (estimated locally),1.00 per call)
DisableCmuFcFceRefCntLfrefHfref/5 (DisableCmuFcFceRefCntLfrefHfref) @05f8c9a0
Type: function definition analyzed
Visibility: prevailing_def_ironly
Address is taken.
References: clockFeatures/11 (read)cmu/16 (read)
Referring: cmuCallbacks/0 (addr)
Availability: available
Function flags: count:348071309 (estimated locally) body optimize_size
Called by: ResetCmuFcFceRefCntLfrefHfref/6 (1073741824 (estimated locally),1.00 per call)
Calls: SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_01/18 (348071309 (estimated locally),1.00 per call) ReportClockErrors/15 (37904965 (estimated locally),0.11 per call) ClockTimeoutExpired/14 (1073741824 (estimated locally),3.08 per call) ClockStartTimeout/13 (114863532 (estimated locally),0.33 per call) SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_01/17 (348071309 (estimated locally),1.00 per call) ReportClockErrors/15 (37904965 (estimated locally),0.11 per call) ClockTimeoutExpired/14 (1073741824 (estimated locally),3.08 per call) ClockStartTimeout/13 (114863532 (estimated locally),0.33 per call) McMeEnterKey/12 (114863532 (estimated locally),0.33 per call)
ClockMonitorEmpty_GetStatus/4 (ClockMonitorEmpty_GetStatus) @05f8ce00
Type: function definition analyzed
Visibility: prevailing_def_ironly
Address is taken.
References:
Referring: cmuCallbacks/0 (addr)
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
ClockMonitorEmpty_ClearStatus/3 (ClockMonitorEmpty_ClearStatus) @05f8cb60
Type: function definition analyzed
Visibility: prevailing_def_ironly
Address is taken.
References:
Referring: cmuCallbacks/0 (addr)
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
ClockMonitorEmpty_Disable/2 (ClockMonitorEmpty_Disable) @05f8c8c0
Type: function definition analyzed
Visibility: prevailing_def_ironly
Address is taken.
References:
Referring: cmuCallbacks/0 (addr)
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
ClockMonitorEmpty/1 (ClockMonitorEmpty) @05f8c620
Type: function definition analyzed
Visibility: prevailing_def_ironly
Address is taken.
References:
Referring: cmuCallbacks/0 (addr)cmuCallbacks/0 (addr)
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
cmuCallbacks/0 (cmuCallbacks) @05f8a558
Type: variable definition analyzed
Visibility: externally_visible public
References: ClockMonitorEmpty/1 (addr)ClockMonitorEmpty/1 (addr)ClockMonitorEmpty_Disable/2 (addr)ClockMonitorEmpty_ClearStatus/3 (addr)ClockMonitorEmpty_GetStatus/4 (addr)ResetCmuFcFceRefCntLfrefHfref/6 (addr)SetCmuFcFceRefCntLfrefHfref/7 (addr)DisableCmuFcFceRefCntLfrefHfref/5 (addr)ClearStatusCmuFcFceRefCntLfrefHfref/8 (addr)GetStatusCmuFcFceRefCntLfrefHfref/9 (addr)
Referring:
Availability: available
Varpool flags: initialized read-only const-value-known
Mcu_CMU_ClockFailInt ()
{
Clock_Ip_NameType name;
uint32 indexCmuEntry;
uint32 instance;
uint32 cmuIsrValue;
int _1;
unsigned char _2;
volatile struct ClockMonitor_Type * _3;
long unsigned int _4;
const struct Clock_Ip_ClockConfigType * clockConfig.5_5;
long unsigned int _6;
<bb 2> [local count: 214748364]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG indexCmuEntry => 0
goto <bb 7>; [100.00%]
<bb 3> [local count: 858993459]:
# DEBUG BEGIN_STMT
name_11 = cmuEntries[indexCmuEntry_7].name;
# DEBUG name => name_11
# DEBUG BEGIN_STMT
_1 = (int) name_11;
_2 = clockFeatures[_1][6];
instance_12 = (uint32) _2;
# DEBUG instance => instance_12
# DEBUG BEGIN_STMT
_3 = cmu[instance_12];
_4 ={v} _3->SR;
cmuIsrValue_13 = _4 & 3;
# DEBUG cmuIsrValue => cmuIsrValue_13
# DEBUG BEGIN_STMT
_3->SR ={v} cmuIsrValue_13;
# DEBUG BEGIN_STMT
clockConfig.5_5 = clockConfig;
if (clockConfig.5_5 != 0B)
goto <bb 4>; [70.00%]
else
goto <bb 6>; [30.00%]
<bb 4> [local count: 601295421]:
# DEBUG BEGIN_STMT
_6 ={v} _3->IER;
# DEBUG cmuIerValue => _6 & 3
# DEBUG BEGIN_STMT
cmuIsrValue_15 = _6 & cmuIsrValue_13;
# DEBUG cmuIsrValue => cmuIsrValue_15
# DEBUG BEGIN_STMT
if (cmuIsrValue_15 != 0)
goto <bb 5>; [33.00%]
else
goto <bb 6>; [67.00%]
<bb 5> [local count: 198427489]:
# DEBUG BEGIN_STMT
ReportClockErrors (0, name_11);
<bb 6> [local count: 858993459]:
# DEBUG BEGIN_STMT
indexCmuEntry_17 = indexCmuEntry_7 + 1;
# DEBUG indexCmuEntry => indexCmuEntry_17
<bb 7> [local count: 1073741824]:
# indexCmuEntry_7 = PHI <0(2), indexCmuEntry_17(6)>
# DEBUG indexCmuEntry => indexCmuEntry_7
# DEBUG BEGIN_STMT
if (indexCmuEntry_7 != 4)
goto <bb 3>; [80.00%]
else
goto <bb 8>; [20.00%]
<bb 8> [local count: 214748365]:
return;
}
GetStatusCmuFcFceRefCntLfrefHfref (Clock_Ip_NameType name)
{
uint32 TimeoutTicks;
uint32 ElapsedTime;
uint32 StartTime;
boolean TimeoutOccurred;
uint32 instance;
Clock_Ip_CmuStatusType status;
uint32 cmuIsrValue;
int _1;
unsigned char _2;
long unsigned int _3;
long unsigned int _4;
long unsigned int _5;
long unsigned int _6;
long unsigned int _7;
long unsigned int _8;
long unsigned int _9;
long unsigned int _10;
long unsigned int TimeoutTicks.0_11;
long unsigned int _12;
long unsigned int _13;
volatile struct ClockMonitor_Type * _14;
long unsigned int _15;
long unsigned int _17;
long unsigned int _18;
long unsigned int _19;
long unsigned int _20;
long unsigned int _21;
<bb 2> [local count: 348071309]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG status => 3
# DEBUG BEGIN_STMT
_1 = (int) name_25(D);
_2 = clockFeatures[_1][6];
instance_27 = (uint32) _2;
# DEBUG instance => instance_27
# DEBUG BEGIN_STMT
# DEBUG TimeoutOccurred => 0
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_3 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
_4 = _3 & 32768;
if (_4 == 0)
goto <bb 3>; [33.00%]
else
goto <bb 8>; [67.00%]
<bb 3> [local count: 114863532]:
# DEBUG BEGIN_STMT
_5 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN;
_6 = _5 | 32768;
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN ={v} _6;
# DEBUG BEGIN_STMT
_7 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF;
_8 = _7 | 1;
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF ={v} _8;
# DEBUG BEGIN_STMT
_9 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD;
_10 = _9 | 1;
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD ={v} _10;
# DEBUG BEGIN_STMT
McMeEnterKey ();
# DEBUG BEGIN_STMT
ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);
<bb 4> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
TimeoutTicks.0_11 = TimeoutTicks;
TimeoutOccurred_34 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.0_11);
# DEBUG TimeoutOccurred => TimeoutOccurred_34
# DEBUG BEGIN_STMT
_12 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
_13 = _12 & 32768;
if (_13 == 0)
goto <bb 5>; [94.50%]
else
goto <bb 6>; [5.50%]
<bb 5> [local count: 1014686025]:
if (TimeoutOccurred_34 != 0)
goto <bb 6>; [5.50%]
else
goto <bb 13>; [94.50%]
<bb 13> [local count: 958878292]:
goto <bb 4>; [100.00%]
<bb 6> [local count: 114863532]:
# TimeoutOccurred_16 = PHI <TimeoutOccurred_34(4), TimeoutOccurred_34(5)>
# DEBUG BEGIN_STMT
if (TimeoutOccurred_16 != 0)
goto <bb 7>; [33.00%]
else
goto <bb 8>; [67.00%]
<bb 7> [local count: 37904965]:
# DEBUG BEGIN_STMT
ReportClockErrors (1, 145);
<bb 8> [local count: 348071309]:
# DEBUG BEGIN_STMT
_14 = cmu[instance_27];
_15 ={v} _14->SR;
cmuIsrValue_36 = _15 & 3;
# DEBUG cmuIsrValue => cmuIsrValue_36
# DEBUG BEGIN_STMT
_17 ={v} _14->IER;
# DEBUG cmuIerValue => _17 & 3
# DEBUG BEGIN_STMT
cmuIsrValue_37 = _17 & cmuIsrValue_36;
# DEBUG cmuIsrValue => cmuIsrValue_37
# DEBUG BEGIN_STMT
_18 ={v} _14->GCR;
_19 = _18 & 1;
if (_19 != 0)
goto <bb 9>; [65.00%]
else
goto <bb 12>; [35.00%]
<bb 9> [local count: 226246351]:
# DEBUG BEGIN_STMT
_20 = cmuIsrValue_37 & 2;
if (_20 != 0)
goto <bb 12>; [50.00%]
else
goto <bb 10>; [50.00%]
<bb 10> [local count: 113123175]:
# DEBUG BEGIN_STMT
_21 = cmuIsrValue_37 & 1;
if (_21 != 0)
goto <bb 12>; [35.00%]
else
goto <bb 11>; [65.00%]
<bb 11> [local count: 73530064]:
# DEBUG BEGIN_STMT
# DEBUG status => 0
<bb 12> [local count: 348071309]:
# status_22 = PHI <3(8), 1(9), 2(10), 0(11)>
# DEBUG status => status_22
# DEBUG BEGIN_STMT
StartTime ={v} {CLOBBER};
ElapsedTime ={v} {CLOBBER};
TimeoutTicks ={v} {CLOBBER};
return status_22;
}
ClearStatusCmuFcFceRefCntLfrefHfref (Clock_Ip_NameType name)
{
uint32 TimeoutTicks;
uint32 ElapsedTime;
uint32 StartTime;
boolean TimeoutOccurred;
uint32 cmuIsrValue;
uint32 instance;
int _1;
unsigned char _2;
long unsigned int _3;
long unsigned int _4;
long unsigned int _5;
long unsigned int _6;
long unsigned int _7;
long unsigned int _8;
long unsigned int _9;
long unsigned int _10;
long unsigned int TimeoutTicks.1_11;
long unsigned int _12;
long unsigned int _13;
volatile struct ClockMonitor_Type * _14;
long unsigned int _15;
<bb 2> [local count: 348071309]:
# DEBUG BEGIN_STMT
_1 = (int) name_19(D);
_2 = clockFeatures[_1][6];
instance_21 = (uint32) _2;
# DEBUG instance => instance_21
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG TimeoutOccurred => 0
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_3 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
_4 = _3 & 32768;
if (_4 == 0)
goto <bb 3>; [33.00%]
else
goto <bb 8>; [67.00%]
<bb 3> [local count: 114863532]:
# DEBUG BEGIN_STMT
_5 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN;
_6 = _5 | 32768;
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN ={v} _6;
# DEBUG BEGIN_STMT
_7 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF;
_8 = _7 | 1;
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF ={v} _8;
# DEBUG BEGIN_STMT
_9 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD;
_10 = _9 | 1;
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD ={v} _10;
# DEBUG BEGIN_STMT
McMeEnterKey ();
# DEBUG BEGIN_STMT
ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);
<bb 4> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
TimeoutTicks.1_11 = TimeoutTicks;
TimeoutOccurred_28 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.1_11);
# DEBUG TimeoutOccurred => TimeoutOccurred_28
# DEBUG BEGIN_STMT
_12 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
_13 = _12 & 32768;
if (_13 == 0)
goto <bb 5>; [94.50%]
else
goto <bb 6>; [5.50%]
<bb 5> [local count: 1014686025]:
if (TimeoutOccurred_28 != 0)
goto <bb 6>; [5.50%]
else
goto <bb 9>; [94.50%]
<bb 9> [local count: 958878292]:
goto <bb 4>; [100.00%]
<bb 6> [local count: 114863532]:
# TimeoutOccurred_16 = PHI <TimeoutOccurred_28(4), TimeoutOccurred_28(5)>
# DEBUG BEGIN_STMT
if (TimeoutOccurred_16 != 0)
goto <bb 7>; [33.00%]
else
goto <bb 8>; [67.00%]
<bb 7> [local count: 37904965]:
# DEBUG BEGIN_STMT
ReportClockErrors (1, 145);
<bb 8> [local count: 348071309]:
# DEBUG BEGIN_STMT
_14 = cmu[instance_21];
_15 ={v} _14->SR;
cmuIsrValue_30 = _15 & 3;
# DEBUG cmuIsrValue => cmuIsrValue_30
# DEBUG BEGIN_STMT
_14->SR ={v} cmuIsrValue_30;
StartTime ={v} {CLOBBER};
ElapsedTime ={v} {CLOBBER};
TimeoutTicks ={v} {CLOBBER};
return;
}
SetCmuFcFceRefCntLfrefHfref (const struct Clock_Ip_CmuConfigType * config)
{
uint32 TimeoutTicks;
uint32 ElapsedTime;
uint32 StartTime;
boolean TimeoutOccurred;
uint32 swIndex;
uint32 instance;
<unnamed type> _1;
int _2;
unsigned char _3;
unsigned char _5;
long unsigned int _6;
long unsigned int _7;
long unsigned int _8;
long unsigned int _9;
long unsigned int _10;
long unsigned int _11;
long unsigned int _12;
long unsigned int _13;
long unsigned int TimeoutTicks.4_14;
long unsigned int _15;
long unsigned int _16;
volatile struct ClockMonitor_Type * _17;
long unsigned int _18;
long unsigned int _19;
long unsigned int _20;
long unsigned int _21;
unsigned char _22;
long unsigned int _23;
long unsigned int _24;
long unsigned int _25;
long unsigned int _26;
<bb 2> [local count: 348071309]:
# DEBUG BEGIN_STMT
_1 = config_31(D)->name;
_2 = (int) _1;
_3 = clockFeatures[_2][6];
instance_32 = (uint32) _3;
# DEBUG instance => instance_32
# DEBUG BEGIN_STMT
_5 = clockFeatures[_2][7];
swIndex_33 = (uint32) _5;
# DEBUG swIndex => swIndex_33
# DEBUG BEGIN_STMT
# DEBUG TimeoutOccurred => 0
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_6 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
_7 = _6 & 32768;
if (_7 == 0)
goto <bb 3>; [33.00%]
else
goto <bb 8>; [67.00%]
<bb 3> [local count: 114863532]:
# DEBUG BEGIN_STMT
_8 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN;
_9 = _8 | 32768;
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN ={v} _9;
# DEBUG BEGIN_STMT
_10 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF;
_11 = _10 | 1;
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF ={v} _11;
# DEBUG BEGIN_STMT
_12 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD;
_13 = _12 | 1;
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD ={v} _13;
# DEBUG BEGIN_STMT
McMeEnterKey ();
# DEBUG BEGIN_STMT
ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);
<bb 4> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
TimeoutTicks.4_14 = TimeoutTicks;
TimeoutOccurred_40 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.4_14);
# DEBUG TimeoutOccurred => TimeoutOccurred_40
# DEBUG BEGIN_STMT
_15 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
_16 = _15 & 32768;
if (_16 == 0)
goto <bb 5>; [94.50%]
else
goto <bb 6>; [5.50%]
<bb 5> [local count: 1014686025]:
if (TimeoutOccurred_40 != 0)
goto <bb 6>; [5.50%]
else
goto <bb 12>; [94.50%]
<bb 12> [local count: 958878292]:
goto <bb 4>; [100.00%]
<bb 6> [local count: 114863532]:
# TimeoutOccurred_4 = PHI <TimeoutOccurred_40(4), TimeoutOccurred_40(5)>
# DEBUG BEGIN_STMT
if (TimeoutOccurred_4 != 0)
goto <bb 7>; [33.00%]
else
goto <bb 8>; [67.00%]
<bb 7> [local count: 37904965]:
# DEBUG BEGIN_STMT
ReportClockErrors (1, 145);
<bb 8> [local count: 348071309]:
# DEBUG BEGIN_STMT
_17 = cmu[instance_32];
_18 = cmuEntries[swIndex_33].refCount;
_17->RCCR ={v} _18;
# DEBUG BEGIN_STMT
_19 = cmuEntries[swIndex_33].hfRef;
_17->HTCR ={v} _19;
# DEBUG BEGIN_STMT
_20 = cmuEntries[swIndex_33].lfRef;
_17->LTCR ={v} _20;
# DEBUG BEGIN_STMT
_21 = config_31(D)->interrupt;
_17->IER ={v} _21;
# DEBUG BEGIN_STMT
_22 = config_31(D)->enable;
if (_22 != 0)
goto <bb 9>; [50.00%]
else
goto <bb 10>; [50.00%]
<bb 9> [local count: 174035654]:
# DEBUG BEGIN_STMT
_23 ={v} _17->GCR;
_24 = _23 | 1;
_17->GCR ={v} _24;
goto <bb 11>; [100.00%]
<bb 10> [local count: 174035654]:
# DEBUG BEGIN_STMT
_25 ={v} _17->GCR;
_26 = _25 & 4294967294;
_17->GCR ={v} _26;
<bb 11> [local count: 348071309]:
StartTime ={v} {CLOBBER};
ElapsedTime ={v} {CLOBBER};
TimeoutTicks ={v} {CLOBBER};
return;
}
ResetCmuFcFceRefCntLfrefHfref (const struct Clock_Ip_CmuConfigType * config)
{
<unnamed type> _1;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = config_3(D)->name;
DisableCmuFcFceRefCntLfrefHfref (_1);
return;
}
DisableCmuFcFceRefCntLfrefHfref (Clock_Ip_NameType name)
{
uint32 FrequencyCheckStatus;
uint32 TimeoutTicks;
uint32 ElapsedTime;
uint32 StartTime;
boolean TimeoutOccurred;
uint32 instance;
int _1;
unsigned char _2;
long unsigned int _3;
long unsigned int _4;
long unsigned int _5;
long unsigned int _6;
long unsigned int _7;
long unsigned int _8;
long unsigned int _9;
long unsigned int _10;
long unsigned int TimeoutTicks.2_11;
long unsigned int _12;
long unsigned int _13;
volatile struct ClockMonitor_Type * _14;
long unsigned int _15;
long unsigned int _16;
long unsigned int _18;
long unsigned int TimeoutTicks.3_19;
long unsigned int _21;
long unsigned int _22;
long unsigned int _23;
long unsigned int _24;
long unsigned int _25;
long unsigned int _26;
<bb 2> [local count: 348071309]:
# DEBUG BEGIN_STMT
_1 = (int) name_31(D);
_2 = clockFeatures[_1][6];
instance_33 = (uint32) _2;
# DEBUG instance => instance_33
# DEBUG BEGIN_STMT
# DEBUG TimeoutOccurred => 0
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_3 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
_4 = _3 & 32768;
if (_4 == 0)
goto <bb 3>; [33.00%]
else
goto <bb 8>; [67.00%]
<bb 3> [local count: 114863532]:
# DEBUG BEGIN_STMT
_5 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN;
_6 = _5 | 32768;
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN ={v} _6;
# DEBUG BEGIN_STMT
_7 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF;
_8 = _7 | 1;
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF ={v} _8;
# DEBUG BEGIN_STMT
_9 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD;
_10 = _9 | 1;
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD ={v} _10;
# DEBUG BEGIN_STMT
McMeEnterKey ();
# DEBUG BEGIN_STMT
ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);
<bb 4> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
TimeoutTicks.2_11 = TimeoutTicks;
TimeoutOccurred_40 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.2_11);
# DEBUG TimeoutOccurred => TimeoutOccurred_40
# DEBUG BEGIN_STMT
_12 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
_13 = _12 & 32768;
if (_13 == 0)
goto <bb 5>; [94.50%]
else
goto <bb 6>; [5.50%]
<bb 5> [local count: 1014686025]:
if (TimeoutOccurred_40 != 0)
goto <bb 6>; [5.50%]
else
goto <bb 17>; [94.50%]
<bb 17> [local count: 958878292]:
goto <bb 4>; [100.00%]
<bb 6> [local count: 114863532]:
# TimeoutOccurred_17 = PHI <TimeoutOccurred_40(4), TimeoutOccurred_40(5)>
# DEBUG BEGIN_STMT
if (TimeoutOccurred_17 != 0)
goto <bb 7>; [33.00%]
else
goto <bb 8>; [67.00%]
<bb 7> [local count: 37904965]:
# DEBUG BEGIN_STMT
ReportClockErrors (1, 145);
<bb 8> [local count: 348071309]:
# DEBUG BEGIN_STMT
SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_01 ();
# DEBUG BEGIN_STMT
_14 = cmu[instance_33];
_15 ={v} _14->GCR;
_16 = _15 & 1;
if (_16 != 0)
goto <bb 9>; [33.00%]
else
goto <bb 15>; [67.00%]
<bb 9> [local count: 114863532]:
# DEBUG BEGIN_STMT
ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);
<bb 10> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_18 ={v} _14->SR;
FrequencyCheckStatus_44 = _18 & 16;
# DEBUG FrequencyCheckStatus => FrequencyCheckStatus_44
# DEBUG BEGIN_STMT
TimeoutTicks.3_19 = TimeoutTicks;
TimeoutOccurred_46 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.3_19);
# DEBUG TimeoutOccurred => TimeoutOccurred_46
# DEBUG BEGIN_STMT
if (FrequencyCheckStatus_44 == 0)
goto <bb 11>; [94.50%]
else
goto <bb 12>; [5.50%]
<bb 11> [local count: 1014686023]:
if (TimeoutOccurred_46 != 0)
goto <bb 12>; [5.50%]
else
goto <bb 16>; [94.50%]
<bb 16> [local count: 958878291]:
goto <bb 10>; [100.00%]
<bb 12> [local count: 114863532]:
# TimeoutOccurred_20 = PHI <TimeoutOccurred_46(10), TimeoutOccurred_46(11)>
# DEBUG BEGIN_STMT
if (TimeoutOccurred_20 != 0)
goto <bb 13>; [33.00%]
else
goto <bb 14>; [67.00%]
<bb 13> [local count: 37904965]:
# DEBUG BEGIN_STMT
ReportClockErrors (1, name_31(D));
goto <bb 15>; [100.00%]
<bb 14> [local count: 76958566]:
# DEBUG BEGIN_STMT
_21 ={v} _14->GCR;
_22 = _21 & 4294967294;
_14->GCR ={v} _22;
<bb 15> [local count: 348071309]:
# DEBUG BEGIN_STMT
_23 ={v} _14->IER;
_24 = _23 & 4294967280;
_14->IER ={v} _24;
# DEBUG BEGIN_STMT
_14->RCCR ={v} 0;
# DEBUG BEGIN_STMT
_14->HTCR ={v} 16777215;
# DEBUG BEGIN_STMT
_14->LTCR ={v} 0;
# DEBUG BEGIN_STMT
_25 ={v} _14->SR;
_26 = _25 | 19;
_14->SR ={v} _26;
# DEBUG BEGIN_STMT
SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_01 ();
StartTime ={v} {CLOBBER};
ElapsedTime ={v} {CLOBBER};
TimeoutTicks ={v} {CLOBBER};
return;
}
ClockMonitorEmpty_GetStatus (Clock_Ip_NameType name)
{
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
return 3;
}
ClockMonitorEmpty_ClearStatus (Clock_Ip_NameType name)
{
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
return;
}
ClockMonitorEmpty_Disable (Clock_Ip_NameType name)
{
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
return;
}
ClockMonitorEmpty (const struct Clock_Ip_CmuConfigType * config)
{
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
return;
}