Symbol table:

Eth_43_PFE_SetControllerMode/31 (Eth_43_PFE_SetControllerMode) @0918f0e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: SampleAppEthInit/25 (805306369 (estimated locally),3.00 per call) 
  Calls: 
Eth_43_PFE_Init/30 (Eth_43_PFE_Init) @0918f000
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: SampleAppEthInit/25 (268435456 (estimated locally),1.00 per call) 
  Calls: 
pfeTxErrorCtr/29 (pfeTxErrorCtr) @0918c288
  Type: variable
  Body removed by symtab_remove_unreachable_nodes
  Visibility: external public
  References: 
  Referring: Tst_Pfe_SendDummyFrame/24 (read)Tst_Pfe_SendDummyFrame/24 (write)
  Availability: not_available
  Varpool flags:
Eth_43_PFE_Transmit/28 (Eth_43_PFE_Transmit) @09121620
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Tst_Pfe_SendDummyFrame/24 (37044093 (estimated locally),0.50 per call) 
  Calls: 
Eth_43_PFE_ProvideTxBuffer/27 (Eth_43_PFE_ProvideTxBuffer) @09121540
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Tst_Pfe_SendDummyFrame/24 (74088184 (estimated locally),1.00 per call) 
  Calls: 
pfeTxCtr/26 (pfeTxCtr) @0918c1b0
  Type: variable
  Body removed by symtab_remove_unreachable_nodes
  Visibility: external public
  References: 
  Referring: Tst_Pfe_SendDummyFrame/24 (read)Tst_Pfe_SendDummyFrame/24 (write)
  Availability: not_available
  Varpool flags:
SampleAppEthInit/25 (SampleAppEthInit) @09121b60
  Type: function definition analyzed
  Visibility: externally_visible public
  References: 
  Referring: 
  Availability: available
  Function flags: count:268435456 (estimated locally) body optimize_size
  Called by: 
  Calls: Eth_43_PFE_SetControllerMode/31 (805306369 (estimated locally),3.00 per call) Eth_43_PFE_Init/30 (268435456 (estimated locally),1.00 per call) 
Tst_Pfe_SendDummyFrame/24 (Tst_Pfe_SendDummyFrame) @091218c0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: pfeTxCtr/26 (read)pfeTxCtr/26 (write)Priority/23 (read)tst_frm2_data/21 (read)pfeTxErrorCtr/29 (read)pfeTxErrorCtr/29 (write)Priority/23 (read)Priority/23 (write)
  Referring: 
  Availability: available
  Function flags: count:74088184 (estimated locally) body optimize_size
  Called by: 
  Calls: Eth_43_PFE_Transmit/28 (37044093 (estimated locally),0.50 per call) Eth_43_PFE_ProvideTxBuffer/27 (74088184 (estimated locally),1.00 per call) 
Priority/23 (Priority) @0911e480
  Type: variable definition analyzed
  Visibility: prevailing_def_ironly
  References: 
  Referring: Tst_Pfe_SendDummyFrame/24 (read)Tst_Pfe_SendDummyFrame/24 (read)Tst_Pfe_SendDummyFrame/24 (write)
  Availability: available
  Varpool flags: initialized
p_shared_status/22 (p_shared_status) @0911e438
  Type: variable definition analyzed
  Visibility: externally_visible public
  References: 
  Referring: 
  Availability: available
  Varpool flags: initialized
tst_frm2_data/21 (tst_frm2_data) @0911e0d8
  Type: variable definition analyzed
  Visibility: externally_visible public
  References: 
  Referring: Tst_Pfe_SendDummyFrame/24 (read)
  Availability: available
  Varpool flags: initialized
SampleAppEthInit ()
{
  uint8 pfeCtrlIndex;
  Std_ReturnType stdRet;
  unsigned char _8;

  <bb 2> [local count: 268435456]:
  # DEBUG BEGIN_STMT
  # DEBUG stdRet => 0
  # DEBUG BEGIN_STMT
  # DEBUG pfeCtrlIndex => 0
  # DEBUG BEGIN_STMT
  Eth_43_PFE_Init (0B);
  # DEBUG BEGIN_STMT
  # DEBUG pfeCtrlIndex => 0
  goto <bb 4>; [100.00%]

  <bb 3> [local count: 805306369]:
  # DEBUG BEGIN_STMT
  _8 = Eth_43_PFE_SetControllerMode (pfeCtrlIndex_3, 1);
  stdRet_9 = stdRet_2 | _8;
  # DEBUG stdRet => stdRet_9
  # DEBUG BEGIN_STMT
  pfeCtrlIndex_10 = pfeCtrlIndex_3 + 1;
  # DEBUG pfeCtrlIndex => pfeCtrlIndex_10

  <bb 4> [local count: 1073741824]:
  # stdRet_2 = PHI <0(2), stdRet_9(3)>
  # pfeCtrlIndex_3 = PHI <0(2), pfeCtrlIndex_10(3)>
  # DEBUG pfeCtrlIndex => pfeCtrlIndex_3
  # DEBUG stdRet => stdRet_2
  # DEBUG BEGIN_STMT
  if (pfeCtrlIndex_3 != 3)
    goto <bb 3>; [75.00%]
  else
    goto <bb 5>; [25.00%]

  <bb 5> [local count: 268435456]:
  # stdRet_1 = PHI <stdRet_2(4)>
  # DEBUG BEGIN_STMT
  return stdRet_1;

}


Tst_Pfe_SendDummyFrame (uint8 srcCtrlIndex, uint8 * dstMacAddr)
{
  BufReq_ReturnType ProvideTxBufferResult;
  uint16 Idx;
  uint16 LengthInBytes;
  Eth_BufIdxType BufferIndex;
  Eth_DataType * bufPtr;
  Std_ReturnType tempRet;
  int _1;
  long unsigned int _2;
  long unsigned int _3;
  unsigned char Priority.0_4;
  int _5;
  Eth_DataType * bufPtr.1_6;
  sizetype _7;
  Eth_DataType * _8;
  unsigned char _9;
  long unsigned int BufferIndex.3_10;
  long unsigned int _11;
  long unsigned int _12;
  unsigned char Priority.5_13;
  int _14;
  int _15;
  unsigned int _16;
  unsigned int _17;
  unsigned char _18;

  <bb 2> [local count: 74088184]:
  # DEBUG BEGIN_STMT
  # DEBUG tempRet => 1
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = (int) srcCtrlIndex_23(D);
  _2 = pfeTxCtr[_1];
  _3 = _2 + 1;
  pfeTxCtr[_1] = _3;
  # DEBUG BEGIN_STMT
  LengthInBytes = 28;
  # DEBUG BEGIN_STMT
  Priority.0_4 = Priority;
  ProvideTxBufferResult_28 = Eth_43_PFE_ProvideTxBuffer (srcCtrlIndex_23(D), Priority.0_4, &BufferIndex, &bufPtr, &LengthInBytes);
  # DEBUG ProvideTxBufferResult => ProvideTxBufferResult_28
  # DEBUG BEGIN_STMT
  if (ProvideTxBufferResult_28 == 0)
    goto <bb 8>; [50.00%]
  else
    goto <bb 7>; [50.00%]

  <bb 8> [local count: 37044092]:
  goto <bb 4>; [100.00%]

  <bb 3> [local count: 1036697733]:
  # DEBUG BEGIN_STMT
  _5 = (int) Idx_20;
  bufPtr.1_6 = bufPtr;
  _7 = (sizetype) Idx_20;
  _8 = bufPtr.1_6 + _7;
  _9 = tst_frm2_data[_5];
  *_8 = _9;
  # DEBUG BEGIN_STMT
  Idx_35 = Idx_20 + 1;
  # DEBUG Idx => Idx_35

  <bb 4> [local count: 1073741824]:
  # Idx_20 = PHI <Idx_35(3), 0(8)>
  # DEBUG Idx => Idx_20
  # DEBUG BEGIN_STMT
  if (Idx_20 != 28)
    goto <bb 3>; [96.55%]
  else
    goto <bb 5>; [3.45%]

  <bb 5> [local count: 37044093]:
  # DEBUG BEGIN_STMT
  LengthInBytes = 28;
  # DEBUG BEGIN_STMT
  BufferIndex.3_10 = BufferIndex;
  tempRet_32 = Eth_43_PFE_Transmit (srcCtrlIndex_23(D), BufferIndex.3_10, 2054, 1, 28, dstMacAddr_30(D));
  # DEBUG tempRet => tempRet_32
  # DEBUG BEGIN_STMT
  if (tempRet_32 != 0)
    goto <bb 6>; [50.00%]
  else
    goto <bb 7>; [50.00%]

  <bb 6> [local count: 18522046]:
  # DEBUG BEGIN_STMT
  _11 = pfeTxErrorCtr[_1];
  _12 = _11 + 1;
  pfeTxErrorCtr[_1] = _12;

  <bb 7> [local count: 74088185]:
  # tempRet_19 = PHI <1(2), tempRet_32(5), tempRet_32(6)>
  # DEBUG tempRet => tempRet_19
  # DEBUG BEGIN_STMT
  Priority.5_13 = Priority;
  _14 = (int) Priority.5_13;
  _15 = _14 + 1;
  _16 = (unsigned int) _15;
  _17 = _16 % 7;
  _18 = (unsigned char) _17;
  Priority = _18;
  # DEBUG BEGIN_STMT
  bufPtr ={v} {CLOBBER};
  BufferIndex ={v} {CLOBBER};
  LengthInBytes ={v} {CLOBBER};
  return tempRet_19;

}


