# HG changeset patch # User Mychaela Falconia # Date 1602920114 0 # Node ID e58a5bb12de4e28a222c6d92051553b528017482 # Parent 820ce39cf6df496ace55dad621b0cd72102cd3dc experimental support for GPF memory supervision diff -r 820ce39cf6df -r e58a5bb12de4 components/aci --- a/components/aci Sat Oct 17 07:00:11 2020 +0000 +++ b/components/aci Sat Oct 17 07:35:14 2020 +0000 @@ -86,6 +86,11 @@ CPPFLAGS="$CPPFLAGS -DALLOW_CSIM_GSM" fi +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc" @@ -480,6 +485,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # New includes CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc" diff -r 820ce39cf6df -r e58a5bb12de4 components/aci_dti_mng --- a/components/aci_dti_mng Sat Oct 17 07:00:11 2020 +0000 +++ b/components/aci_dti_mng Sat Oct 17 07:35:14 2020 +0000 @@ -54,6 +54,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc" diff -r 820ce39cf6df -r e58a5bb12de4 components/aciext --- a/components/aciext Sat Oct 17 07:00:11 2020 +0000 +++ b/components/aciext Sat Oct 17 07:35:14 2020 +0000 @@ -67,6 +67,11 @@ CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_SECP" CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_SECS" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc" diff -r 820ce39cf6df -r e58a5bb12de4 components/alr --- a/components/alr Sat Oct 17 07:00:11 2020 +0000 +++ b/components/alr Sat Oct 17 07:35:14 2020 +0000 @@ -61,6 +61,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DNWARN" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-gsm/alr2 diff -r 820ce39cf6df -r e58a5bb12de4 components/atiext --- a/components/atiext Sat Oct 17 07:00:11 2020 +0000 +++ b/components/atiext Sat Oct 17 07:35:14 2020 +0000 @@ -60,6 +60,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc" diff -r 820ce39cf6df -r e58a5bb12de4 components/bmi --- a/components/bmi Sat Oct 17 07:00:11 2020 +0000 +++ b/components/bmi Sat Oct 17 07:35:14 2020 +0000 @@ -79,6 +79,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc" diff -r 820ce39cf6df -r e58a5bb12de4 components/cc --- a/components/cc Sat Oct 17 07:00:11 2020 +0000 +++ b/components/cc Sat Oct 17 07:35:14 2020 +0000 @@ -35,6 +35,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-gsm/cc diff -r 820ce39cf6df -r e58a5bb12de4 components/ccd --- a/components/ccd Sat Oct 17 07:00:11 2020 +0000 +++ b/components/ccd Sat Oct 17 07:35:14 2020 +0000 @@ -8,6 +8,11 @@ CPPFLAGS="$CPPFLAGS -DCCDDATA_STATIC_DATA" CPPFLAGS="$CPPFLAGS -D_TMS470 -DNEW_ENTITY -DERR_TRACE_CCD" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/gpf/ccd" diff -r 820ce39cf6df -r e58a5bb12de4 components/ccddata --- a/components/ccddata Sat Oct 17 07:00:11 2020 +0000 +++ b/components/ccddata Sat Oct 17 07:35:14 2020 +0000 @@ -3,6 +3,11 @@ CFLAGS="-me -mt -o -pw2 -x -mw" CPPFLAGS="-D_TMS470 -DNEW_FRAME -DNEW_ENTITY -DCCDDATA_STATIC_DATA" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/gpf/ccd" diff -r 820ce39cf6df -r e58a5bb12de4 components/cci --- a/components/cci Sat Oct 17 07:00:11 2020 +0000 +++ b/components/cci Sat Oct 17 07:35:14 2020 +0000 @@ -51,6 +51,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc" diff -r 820ce39cf6df -r e58a5bb12de4 components/cci_ir --- a/components/cci_ir Sat Oct 17 07:00:11 2020 +0000 +++ b/components/cci_ir Sat Oct 17 07:35:14 2020 +0000 @@ -51,6 +51,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc" diff -r 820ce39cf6df -r e58a5bb12de4 components/cl --- a/components/cl Sat Oct 17 07:00:11 2020 +0000 +++ b/components/cl Sat Oct 17 07:35:14 2020 +0000 @@ -49,6 +49,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-gprs/cl diff -r 820ce39cf6df -r e58a5bb12de4 components/comlib --- a/components/comlib Sat Oct 17 07:00:11 2020 +0000 +++ b/components/comlib Sat Oct 17 07:35:14 2020 +0000 @@ -20,6 +20,11 @@ CPPFLAGS="$CPPFLAGS -DFF_ATI" CPPFLAGS="$CPPFLAGS -DCL_IMEI_CALYPSO_PLATFORM" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc" diff -r 820ce39cf6df -r e58a5bb12de4 components/config_gprs_fl --- a/components/config_gprs_fl Sat Oct 17 07:00:11 2020 +0000 +++ b/components/config_gprs_fl Sat Oct 17 07:35:14 2020 +0000 @@ -63,6 +63,11 @@ CPPFLAGS="$CPPFLAGS -DDATA_EXT_RAM" CPPFLAGS="$CPPFLAGS -DFF_UPM" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc" diff -r 820ce39cf6df -r e58a5bb12de4 components/config_gprs_ir --- a/components/config_gprs_ir Sat Oct 17 07:00:11 2020 +0000 +++ b/components/config_gprs_ir Sat Oct 17 07:35:14 2020 +0000 @@ -63,6 +63,11 @@ CPPFLAGS="$CPPFLAGS -DDATA_INT_RAM" CPPFLAGS="$CPPFLAGS -DFF_UPM" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc" diff -r 820ce39cf6df -r e58a5bb12de4 components/config_gsm_fl --- a/components/config_gsm_fl Sat Oct 17 07:00:11 2020 +0000 +++ b/components/config_gsm_fl Sat Oct 17 07:35:14 2020 +0000 @@ -65,6 +65,11 @@ CPPFLAGS="$CPPFLAGS -DDATA_EXT_RAM" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc" diff -r 820ce39cf6df -r e58a5bb12de4 components/config_gsm_ir --- a/components/config_gsm_ir Sat Oct 17 07:00:11 2020 +0000 +++ b/components/config_gsm_ir Sat Oct 17 07:35:14 2020 +0000 @@ -65,6 +65,11 @@ CPPFLAGS="$CPPFLAGS -DDATA_INT_RAM" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc" diff -r 820ce39cf6df -r e58a5bb12de4 components/cst --- a/components/cst Sat Oct 17 07:00:11 2020 +0000 +++ b/components/cst Sat Oct 17 07:35:14 2020 +0000 @@ -15,6 +15,11 @@ CPPFLAGS="$CPPFLAGS -DTOOL_CHOICE=0" CPPFLAGS="$CPPFLAGS -D_TMS470" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + if [ "$DISABLE_SLEEP" = 1 ] then CPPFLAGS="$CPPFLAGS -DDISABLE_SLEEP" diff -r 820ce39cf6df -r e58a5bb12de4 components/dl --- a/components/dl Sat Oct 17 07:00:11 2020 +0000 +++ b/components/dl Sat Oct 17 07:35:14 2020 +0000 @@ -44,6 +44,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-gsm/dl diff -r 820ce39cf6df -r e58a5bb12de4 components/dti --- a/components/dti Sat Oct 17 07:00:11 2020 +0000 +++ b/components/dti Sat Oct 17 07:35:14 2020 +0000 @@ -45,6 +45,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-aci/dti diff -r 820ce39cf6df -r e58a5bb12de4 components/fad --- a/components/fad Sat Oct 17 07:00:11 2020 +0000 +++ b/components/fad Sat Oct 17 07:35:14 2020 +0000 @@ -50,6 +50,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-fad/fad diff -r 820ce39cf6df -r e58a5bb12de4 components/frame_fl --- a/components/frame_fl Sat Oct 17 07:00:11 2020 +0000 +++ b/components/frame_fl Sat Oct 17 07:35:14 2020 +0000 @@ -7,6 +7,15 @@ CPPFLAGS="-DNU_DEBUG -D_FF_RV_EXIST_ -DRUN_FLASH" CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi +if [ "$MEMSUPER" = 2 ] +then + CPPFLAGS="$CPPFLAGS -DOPTIMIZE_POOL" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame" @@ -28,6 +37,10 @@ cfile_symlink $SRCDIR/vsi_drv.c cfile_symlink $SRCDIR/vsi_trc.c cfile_symlink $SRCDIR/vsi_pro.c +if [ "$MEMSUPER" != 0 ] +then + cfile_symlink $SRCDIR/vsi_ppm.c +fi cfile_symlink $SRCDIR/xalert.c cfile_symlink $SRCDIR/route.c cfile_symlink $SRCDIR/prf_func.c @@ -56,13 +69,20 @@ else OBJDIR=../../blobs/osl/fl + OBJDIR_PS=../../blobs/osl/fl_ps OBJS="$OBJS $OBJDIR/os_com.obj" OBJS="$OBJS $OBJDIR/os_drv.obj" OBJS="$OBJS $OBJDIR/os_evt.obj" OBJS="$OBJS $OBJDIR/os_isr.obj" - OBJS="$OBJS $OBJDIR/os_mem.obj" - OBJS="$OBJS $OBJDIR/os_mis.obj" + if [ "$MEMSUPER" != 0 ] + then + OBJS="$OBJS $OBJDIR_PS/os_mem.obj" + OBJS="$OBJS $OBJDIR_PS/os_mis.obj" + else + OBJS="$OBJS $OBJDIR/os_mem.obj" + OBJS="$OBJS $OBJDIR/os_mis.obj" + fi OBJS="$OBJS $OBJDIR/os_pro.obj" OBJS="$OBJS $OBJDIR/os_sem.obj" OBJS="$OBJS $OBJDIR/os_tim.obj" diff -r 820ce39cf6df -r e58a5bb12de4 components/frame_ir --- a/components/frame_ir Sat Oct 17 07:00:11 2020 +0000 +++ b/components/frame_ir Sat Oct 17 07:35:14 2020 +0000 @@ -7,6 +7,15 @@ CPPFLAGS="-DNU_DEBUG -D_FF_RV_EXIST_ -DRUN_INT_RAM" CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi +if [ "$MEMSUPER" = 2 ] +then + CPPFLAGS="$CPPFLAGS -DOPTIMIZE_POOL" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame" @@ -28,6 +37,10 @@ cfile_symlink $SRCDIR/vsi_drv.c cfile_symlink $SRCDIR/vsi_trc.c cfile_symlink $SRCDIR/vsi_pro.c +if [ "$MEMSUPER" != 0 ] +then + cfile_symlink $SRCDIR/vsi_ppm.c +fi cfile_symlink $SRCDIR/xalert.c cfile_symlink $SRCDIR/route.c cfile_symlink $SRCDIR/prf_func.c @@ -54,12 +67,18 @@ else OBJDIR=../../blobs/osl/ir + OBJDIR_PS=../../blobs/osl/ir_ps OBJS="$OBJS $OBJDIR/os_com.obj" OBJS="$OBJS $OBJDIR/os_drv.obj" OBJS="$OBJS $OBJDIR/os_evt.obj" OBJS="$OBJS $OBJDIR/os_isr.obj" - OBJS="$OBJS $OBJDIR/os_mem.obj" + if [ "$MEMSUPER" != 0 ] + then + OBJS="$OBJS $OBJDIR_PS/os_mem.obj" + else + OBJS="$OBJS $OBJDIR/os_mem.obj" + fi OBJS="$OBJS $OBJDIR/os_mis.obj" OBJS="$OBJS $OBJDIR/os_pro.obj" OBJS="$OBJS $OBJDIR/os_sem.obj" diff -r 820ce39cf6df -r e58a5bb12de4 components/gdi --- a/components/gdi Sat Oct 17 07:00:11 2020 +0000 +++ b/components/gdi Sat Oct 17 07:35:14 2020 +0000 @@ -70,6 +70,11 @@ CPPFLAGS="$CPPFLAGS -DCUST=0" CPPFLAGS="$CPPFLAGS -DTESTMODE=1" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc" diff -r 820ce39cf6df -r e58a5bb12de4 components/gmm --- a/components/gmm Sat Oct 17 07:00:11 2020 +0000 +++ b/components/gmm Sat Oct 17 07:35:14 2020 +0000 @@ -49,6 +49,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-gprs/gmm diff -r 820ce39cf6df -r e58a5bb12de4 components/grlc --- a/components/grlc Sat Oct 17 07:00:11 2020 +0000 +++ b/components/grlc Sat Oct 17 07:35:14 2020 +0000 @@ -50,6 +50,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-gprs/grlc diff -r 820ce39cf6df -r e58a5bb12de4 components/grlc_ir --- a/components/grlc_ir Sat Oct 17 07:00:11 2020 +0000 +++ b/components/grlc_ir Sat Oct 17 07:35:14 2020 +0000 @@ -51,6 +51,11 @@ CPPFLAGS="$CPPFLAGS -DBOARD=41" CPPFLAGS="$CPPFLAGS -D_BOARD_=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-gprs/grlc diff -r 820ce39cf6df -r e58a5bb12de4 components/grr --- a/components/grr Sat Oct 17 07:00:11 2020 +0000 +++ b/components/grr Sat Oct 17 07:35:14 2020 +0000 @@ -50,6 +50,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-gprs/grr diff -r 820ce39cf6df -r e58a5bb12de4 components/icn --- a/components/icn Sat Oct 17 07:00:11 2020 +0000 +++ b/components/icn Sat Oct 17 07:35:14 2020 +0000 @@ -75,6 +75,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc" diff -r 820ce39cf6df -r e58a5bb12de4 components/l1_pei --- a/components/l1_pei Sat Oct 17 07:00:11 2020 +0000 +++ b/components/l1_pei Sat Oct 17 07:35:14 2020 +0000 @@ -35,6 +35,11 @@ CPPFLAGS="$CPPFLAGS -DNCONF" CPPFLAGS="$CPPFLAGS -DNTRACE" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-gsm/l1 diff -r 820ce39cf6df -r e58a5bb12de4 components/l2r --- a/components/l2r Sat Oct 17 07:00:11 2020 +0000 +++ b/components/l2r Sat Oct 17 07:35:14 2020 +0000 @@ -46,6 +46,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-fad/l2r diff -r 820ce39cf6df -r e58a5bb12de4 components/llc --- a/components/llc Sat Oct 17 07:00:11 2020 +0000 +++ b/components/llc Sat Oct 17 07:35:14 2020 +0000 @@ -51,6 +51,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc" diff -r 820ce39cf6df -r e58a5bb12de4 components/mfw --- a/components/mfw Sat Oct 17 07:00:11 2020 +0000 +++ b/components/mfw Sat Oct 17 07:35:14 2020 +0000 @@ -79,6 +79,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc" diff -r 820ce39cf6df -r e58a5bb12de4 components/misc_fl --- a/components/misc_fl Sat Oct 17 07:00:11 2020 +0000 +++ b/components/misc_fl Sat Oct 17 07:35:14 2020 +0000 @@ -6,6 +6,11 @@ CPPFLAGS="-D_TARGET_ -D_NUCLEUS_ -DRUN_FLASH" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/gpf/misc" diff -r 820ce39cf6df -r e58a5bb12de4 components/misc_ir --- a/components/misc_ir Sat Oct 17 07:00:11 2020 +0000 +++ b/components/misc_ir Sat Oct 17 07:35:14 2020 +0000 @@ -6,6 +6,11 @@ CPPFLAGS="-D_TARGET_ -D_NUCLEUS_ -DRUN_INT_RAM" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/gpf/misc" diff -r 820ce39cf6df -r e58a5bb12de4 components/mm --- a/components/mm Sat Oct 17 07:00:11 2020 +0000 +++ b/components/mm Sat Oct 17 07:35:14 2020 +0000 @@ -58,6 +58,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-gsm/mm diff -r 820ce39cf6df -r e58a5bb12de4 components/osx --- a/components/osx Sat Oct 17 07:00:11 2020 +0000 +++ b/components/osx Sat Oct 17 07:35:14 2020 +0000 @@ -6,6 +6,11 @@ CPPFLAGS="-D_TARGET_ -D_NUCLEUS_" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os" diff -r 820ce39cf6df -r e58a5bb12de4 components/ppp --- a/components/ppp Sat Oct 17 07:00:11 2020 +0000 +++ b/components/ppp Sat Oct 17 07:35:14 2020 +0000 @@ -47,6 +47,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-fad/ppp diff -r 820ce39cf6df -r e58a5bb12de4 components/ppp_ir --- a/components/ppp_ir Sat Oct 17 07:00:11 2020 +0000 +++ b/components/ppp_ir Sat Oct 17 07:35:14 2020 +0000 @@ -47,6 +47,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-fad/ppp diff -r 820ce39cf6df -r e58a5bb12de4 components/ra --- a/components/ra Sat Oct 17 07:00:11 2020 +0000 +++ b/components/ra Sat Oct 17 07:35:14 2020 +0000 @@ -45,6 +45,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-fad/ra diff -r 820ce39cf6df -r e58a5bb12de4 components/rlp --- a/components/rlp Sat Oct 17 07:00:11 2020 +0000 +++ b/components/rlp Sat Oct 17 07:35:14 2020 +0000 @@ -55,6 +55,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-fad/rlp diff -r 820ce39cf6df -r e58a5bb12de4 components/rr --- a/components/rr Sat Oct 17 07:00:11 2020 +0000 +++ b/components/rr Sat Oct 17 07:35:14 2020 +0000 @@ -58,6 +58,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-gsm/rr diff -r 820ce39cf6df -r e58a5bb12de4 components/sim_b_lib --- a/components/sim_b_lib Sat Oct 17 07:00:11 2020 +0000 +++ b/components/sim_b_lib Sat Oct 17 07:35:14 2020 +0000 @@ -66,6 +66,11 @@ CPPFLAGS="$CPPFLAGS -DALLOW_CSIM_GSM" fi +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-gsm/sim diff -r 820ce39cf6df -r e58a5bb12de4 components/sm --- a/components/sm Sat Oct 17 07:00:11 2020 +0000 +++ b/components/sm Sat Oct 17 07:35:14 2020 +0000 @@ -50,6 +50,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-gprs/sm diff -r 820ce39cf6df -r e58a5bb12de4 components/sms --- a/components/sms Sat Oct 17 07:00:11 2020 +0000 +++ b/components/sms Sat Oct 17 07:35:14 2020 +0000 @@ -45,6 +45,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-gsm/sms diff -r 820ce39cf6df -r e58a5bb12de4 components/sndcp --- a/components/sndcp Sat Oct 17 07:00:11 2020 +0000 +++ b/components/sndcp Sat Oct 17 07:35:14 2020 +0000 @@ -52,6 +52,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc" diff -r 820ce39cf6df -r e58a5bb12de4 components/ss --- a/components/ss Sat Oct 17 07:00:11 2020 +0000 +++ b/components/ss Sat Oct 17 07:35:14 2020 +0000 @@ -44,6 +44,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-gsm/ss diff -r 820ce39cf6df -r e58a5bb12de4 components/t30 --- a/components/t30 Sat Oct 17 07:00:11 2020 +0000 +++ b/components/t30 Sat Oct 17 07:35:14 2020 +0000 @@ -51,6 +51,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-fad/t30 diff -r 820ce39cf6df -r e58a5bb12de4 components/tif_fl --- a/components/tif_fl Sat Oct 17 07:00:11 2020 +0000 +++ b/components/tif_fl Sat Oct 17 07:35:14 2020 +0000 @@ -12,6 +12,11 @@ CPPFLAGS="$CPPFLAGS -D_FF_RV_EXIST_" fi +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc" diff -r 820ce39cf6df -r e58a5bb12de4 components/tif_ir --- a/components/tif_ir Sat Oct 17 07:00:11 2020 +0000 +++ b/components/tif_ir Sat Oct 17 07:35:14 2020 +0000 @@ -12,6 +12,11 @@ CPPFLAGS="$CPPFLAGS -D_FF_RV_EXIST_" fi +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc" diff -r 820ce39cf6df -r e58a5bb12de4 components/uart_b_lib --- a/components/uart_b_lib Sat Oct 17 07:00:11 2020 +0000 +++ b/components/uart_b_lib Sat Oct 17 07:35:14 2020 +0000 @@ -56,6 +56,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-aci/uart diff -r 820ce39cf6df -r e58a5bb12de4 components/upm --- a/components/upm Sat Oct 17 07:00:11 2020 +0000 +++ b/components/upm Sat Oct 17 07:35:14 2020 +0000 @@ -51,6 +51,11 @@ CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" CPPFLAGS="$CPPFLAGS -DBOARD=41" +if [ "$MEMSUPER" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" +fi + # Includes SRCDIR=$SRC/g23m-gprs/upm diff -r 820ce39cf6df -r e58a5bb12de4 configure.sh --- a/configure.sh Sat Oct 17 07:00:11 2020 +0000 +++ b/configure.sh Sat Oct 17 07:35:14 2020 +0000 @@ -135,6 +135,7 @@ # miscellaneous configurable feature settings ALLOW_CSIM_GSM=1 +MEMSUPER=0 OSL=0 OSX=0 SERIAL_DYNAMIC_SWITCH=0 @@ -217,7 +218,7 @@ export R2D_EMBEDDED_LCD UI_CONFIG export ALLOW_CSIM_GSM SERIAL_DYNAMIC_SWITCH TR_BAUD_CONFIG export TI_PROFILER TRACEMASK_IN_FFS -export OSL +export MEMSUPER OSL scripts/config-headers.sh @@ -315,7 +316,7 @@ build_lib misc_ir lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' -if [ "$OSX" = 1 ] +if [ "$OSX" = 1 -o "$MEMSUPER" != 0 ] then build_lib osx else