FreeCalypso > hg > freecalypso-sw
changeset 323:d278439e905d
GPF: vsi_trc.c compiles
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 13 Apr 2014 07:56:00 +0000 |
parents | 5d1e22505446 |
children | 7228920a0834 |
files | gsm-fw/gpf/frame/iram/Makefile gsm-fw/gpf/frame/vsi_trc.c gsm-fw/gpf/frame/xip/Makefile |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/gsm-fw/gpf/frame/iram/Makefile Sun Apr 13 07:21:57 2014 +0000 +++ b/gsm-fw/gpf/frame/iram/Makefile Sun Apr 13 07:56:00 2014 +0000 @@ -5,7 +5,7 @@ OBJS= frame.o prf_func.o route.o \ vsi_com.o vsi_drv.o vsi_mem.o vsi_mis.o vsi_ppm.o \ - vsi_pro.o vsi_sem.o vsi_tim.o #vsi_trc.o + vsi_pro.o vsi_sem.o vsi_tim.o vsi_trc.o all: ${OBJS}
--- a/gsm-fw/gpf/frame/vsi_trc.c Sun Apr 13 07:21:57 2014 +0000 +++ b/gsm-fw/gpf/frame/vsi_trc.c Sun Apr 13 07:56:00 2014 +0000 @@ -55,7 +55,7 @@ #include "frm_glob.h" #include "p_frame.h" #ifndef _TOOLS_ -#include "tstdriver.h" +#include "../tst_pei/tstdriver.h" #endif /*==== TYPES ======================================================*/ @@ -1111,7 +1111,7 @@ if(offset <= TextTracePartitionSize - sizeof(T_S_HEADER) - sizeof(T_PRIM_HEADER)) *((char*)(P2D(prim)) + offset - 1) = *((char *)varpars); - va_arg(varpars, char); + va_arg(varpars, int); /* int, not char because of promotion */ break; case 'i': /* four bytes */ case 'p':
--- a/gsm-fw/gpf/frame/xip/Makefile Sun Apr 13 07:21:57 2014 +0000 +++ b/gsm-fw/gpf/frame/xip/Makefile Sun Apr 13 07:56:00 2014 +0000 @@ -5,7 +5,7 @@ OBJS= frame.o frame_version.o frm_ext.o prf_func.o route.o \ vsi_com.o vsi_drv.o vsi_mem.o vsi_mis.o vsi_ppm.o \ - vsi_pro.o vsi_sem.o vsi_tim.o #vsi_trc.o + vsi_pro.o vsi_sem.o vsi_tim.o vsi_trc.o all: ${OBJS}