FreeCalypso > hg > tcs211-l1-reconst
changeset 158:90c4afec6608
l1_trace.c: use of int_id global var reconstructed
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 05 Jun 2016 19:36:56 +0000 |
parents | a7f7b52692e2 |
children | 3d39075c56bc |
files | chipsetsw/layer1/cfile/l1_trace.c |
diffstat | 1 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/chipsetsw/layer1/cfile/l1_trace.c Sun Jun 05 18:06:28 2016 +0000 +++ b/chipsetsw/layer1/cfile/l1_trace.c Sun Jun 05 19:36:56 2016 +0000 @@ -396,6 +396,7 @@ #if (TRACE_TYPE==1) || (TRACE_TYPE==4) || (TRACE_TYPE==5) +UWORD16 int_id = 0; UWORD32 pgoset = 0; @@ -1594,7 +1595,7 @@ ((T_TRACE_INFO *)(msg->SigP))->tab[0], ((T_TRACE_INFO *)(msg->SigP))->tab[1], ((T_TRACE_INFO *)(msg->SigP))->tab[3], - ((T_TRACE_INFO *)(msg->SigP))->tab[5], + int_id, array_special_cases[index]); } else @@ -1605,7 +1606,7 @@ ((T_TRACE_INFO *)(msg->SigP))->tab[0], ((T_TRACE_INFO *)(msg->SigP))->tab[1], ((T_TRACE_INFO *)(msg->SigP))->tab[3], - ((T_TRACE_INFO *)(msg->SigP))->tab[5], + int_id, array_string[((T_TRACE_INFO *)(msg->SigP))->tab[4]], array_special_cases[index]); } @@ -8282,8 +8283,6 @@ /* Parameters : */ /* Return : */ -UWORD16 int_id; - void l1_trace_sleep(UWORD32 start_fn, UWORD32 end_fn, UWORD8 type_sleep,UWORD8 wakeup_type,UWORD8 big_sleep_type) { #if (CODE_VERSION == SIMULATION) @@ -8327,7 +8326,6 @@ ((T_TR_SLEEP *)(msg->SigP))->type_sleep = type_sleep; ((T_TR_SLEEP *)(msg->SigP))->wakeup_type = wakeup_type; ((T_TR_SLEEP *)(msg->SigP))->big_sleep_type = big_sleep_type; - ((T_TR_SLEEP *)(msg->SigP))->int_id = int_id; // send message... os_send_sig(msg, L1C1_QUEUE); @@ -8352,7 +8350,6 @@ ((T_TRACE_INFO *)(msg->SigP))->tab[2] = type_sleep; ((T_TRACE_INFO *)(msg->SigP))->tab[3] = wakeup_type; ((T_TRACE_INFO *)(msg->SigP))->tab[4] = big_sleep_type; - ((T_TRACE_INFO *)(msg->SigP))->tab[5] = int_id; // send message... os_send_sig(msg, L1C1_QUEUE);