FreeCalypso > hg > tcs211-l1-reconst
comparison chipsetsw/layer1/cfile/l1_trace.c @ 161:325234bc6ee2
l1_trace.c: Trace_Packet_Transfer() reconstructed
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 06 Jun 2016 21:24:14 +0000 |
parents | fb47e34859c0 |
children | 06e309c63fd4 |
comparison
equal
deleted
inserted
replaced
160:fb47e34859c0 | 161:325234bc6ee2 |
---|---|
6570 DEBUGMSG(status,NU_ALLOC_ERR) | 6570 DEBUGMSG(status,NU_ALLOC_ERR) |
6571 msg->SignalCode = TRACE_INFO; | 6571 msg->SignalCode = TRACE_INFO; |
6572 | 6572 |
6573 ((T_TRACE_INFO *)(msg->SigP))->debug_code = L1S_PACKET_TRANSFER; | 6573 ((T_TRACE_INFO *)(msg->SigP))->debug_code = L1S_PACKET_TRANSFER; |
6574 | 6574 |
6575 switch(l1s.actual_time.fn_mod52) | 6575 switch(l1s.actual_time.fn % 52) |
6576 { | 6576 { |
6577 case 4: ((T_TRACE_INFO *)(msg->SigP))->tab[0] = 0; break; | 6577 case 4: ((T_TRACE_INFO *)(msg->SigP))->tab[0] = 0; break; |
6578 case 8: ((T_TRACE_INFO *)(msg->SigP))->tab[0] = 1; break; | 6578 case 8: ((T_TRACE_INFO *)(msg->SigP))->tab[0] = 1; break; |
6579 case 12: ((T_TRACE_INFO *)(msg->SigP))->tab[0] = 2; break; | 6579 case 12: ((T_TRACE_INFO *)(msg->SigP))->tab[0] = 2; break; |
6580 case 17: ((T_TRACE_INFO *)(msg->SigP))->tab[0] = 3; break; | 6580 case 17: ((T_TRACE_INFO *)(msg->SigP))->tab[0] = 3; break; |