FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/gpf/frame/vsi_trc.c @ 323:d278439e905d
GPF: vsi_trc.c compiles
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 13 Apr 2014 07:56:00 +0000 |
parents | 2c760f6b1fe0 |
children |
comparison
equal
deleted
inserted
replaced
322:5d1e22505446 | 323:d278439e905d |
---|---|
53 #include "frm_defs.h" | 53 #include "frm_defs.h" |
54 #include "frm_types.h" | 54 #include "frm_types.h" |
55 #include "frm_glob.h" | 55 #include "frm_glob.h" |
56 #include "p_frame.h" | 56 #include "p_frame.h" |
57 #ifndef _TOOLS_ | 57 #ifndef _TOOLS_ |
58 #include "tstdriver.h" | 58 #include "../tst_pei/tstdriver.h" |
59 #endif | 59 #endif |
60 | 60 |
61 /*==== TYPES ======================================================*/ | 61 /*==== TYPES ======================================================*/ |
62 | 62 |
63 typedef struct | 63 typedef struct |
1109 case 'c': /* one byte */ | 1109 case 'c': /* one byte */ |
1110 offset+=1; | 1110 offset+=1; |
1111 if(offset <= TextTracePartitionSize - sizeof(T_S_HEADER) - sizeof(T_PRIM_HEADER)) | 1111 if(offset <= TextTracePartitionSize - sizeof(T_S_HEADER) - sizeof(T_PRIM_HEADER)) |
1112 *((char*)(P2D(prim)) + offset - 1) = *((char *)varpars); | 1112 *((char*)(P2D(prim)) + offset - 1) = *((char *)varpars); |
1113 | 1113 |
1114 va_arg(varpars, char); | 1114 va_arg(varpars, int); /* int, not char because of promotion */ |
1115 break; | 1115 break; |
1116 case 'i': /* four bytes */ | 1116 case 'i': /* four bytes */ |
1117 case 'p': | 1117 case 'p': |
1118 case '*': | 1118 case '*': |
1119 offset+=4; | 1119 offset+=4; |