# HG changeset patch # User Michael Spacefalcon # Date 1397375760 0 # Node ID d278439e905d586e0cbcf44b5845f53016a3c566 # Parent 5d1e22505446a05edead356cf1e323c9b8a3dc2b GPF: vsi_trc.c compiles diff -r 5d1e22505446 -r d278439e905d gsm-fw/gpf/frame/iram/Makefile --- 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} diff -r 5d1e22505446 -r d278439e905d gsm-fw/gpf/frame/vsi_trc.c --- 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': diff -r 5d1e22505446 -r d278439e905d gsm-fw/gpf/frame/xip/Makefile --- 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}