comparison components/frame_ir @ 38:e58a5bb12de4

experimental support for GPF memory supervision
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 17 Oct 2020 07:35:14 +0000
parents 9ab2f6dc1974
children
comparison
equal deleted inserted replaced
37:820ce39cf6df 38:e58a5bb12de4
4 4
5 # Defines 5 # Defines
6 6
7 CPPFLAGS="-DNU_DEBUG -D_FF_RV_EXIST_ -DRUN_INT_RAM" 7 CPPFLAGS="-DNU_DEBUG -D_FF_RV_EXIST_ -DRUN_INT_RAM"
8 CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_" 8 CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_"
9
10 if [ "$MEMSUPER" != 0 ]
11 then
12 CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION"
13 fi
14 if [ "$MEMSUPER" = 2 ]
15 then
16 CPPFLAGS="$CPPFLAGS -DOPTIMIZE_POOL"
17 fi
9 18
10 # Includes 19 # Includes
11 20
12 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame" 21 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame"
13 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc" 22 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc"
26 cfile_symlink $SRCDIR/vsi_tim.c 35 cfile_symlink $SRCDIR/vsi_tim.c
27 cfile_symlink $SRCDIR/vsi_mis.c 36 cfile_symlink $SRCDIR/vsi_mis.c
28 cfile_symlink $SRCDIR/vsi_drv.c 37 cfile_symlink $SRCDIR/vsi_drv.c
29 cfile_symlink $SRCDIR/vsi_trc.c 38 cfile_symlink $SRCDIR/vsi_trc.c
30 cfile_symlink $SRCDIR/vsi_pro.c 39 cfile_symlink $SRCDIR/vsi_pro.c
40 if [ "$MEMSUPER" != 0 ]
41 then
42 cfile_symlink $SRCDIR/vsi_ppm.c
43 fi
31 cfile_symlink $SRCDIR/xalert.c 44 cfile_symlink $SRCDIR/xalert.c
32 cfile_symlink $SRCDIR/route.c 45 cfile_symlink $SRCDIR/route.c
33 cfile_symlink $SRCDIR/prf_func.c 46 cfile_symlink $SRCDIR/prf_func.c
34 cfile_symlink $SRCDIR/frm_ext.c 47 cfile_symlink $SRCDIR/frm_ext.c
35 cfile_symlink $SRCDIR/frame_version.c 48 cfile_symlink $SRCDIR/frame_version.c
52 cfile_plain $SRCDIR/os_tim_ir.c 65 cfile_plain $SRCDIR/os_tim_ir.c
53 66
54 else 67 else
55 68
56 OBJDIR=../../blobs/osl/ir 69 OBJDIR=../../blobs/osl/ir
70 OBJDIR_PS=../../blobs/osl/ir_ps
57 71
58 OBJS="$OBJS $OBJDIR/os_com.obj" 72 OBJS="$OBJS $OBJDIR/os_com.obj"
59 OBJS="$OBJS $OBJDIR/os_drv.obj" 73 OBJS="$OBJS $OBJDIR/os_drv.obj"
60 OBJS="$OBJS $OBJDIR/os_evt.obj" 74 OBJS="$OBJS $OBJDIR/os_evt.obj"
61 OBJS="$OBJS $OBJDIR/os_isr.obj" 75 OBJS="$OBJS $OBJDIR/os_isr.obj"
62 OBJS="$OBJS $OBJDIR/os_mem.obj" 76 if [ "$MEMSUPER" != 0 ]
77 then
78 OBJS="$OBJS $OBJDIR_PS/os_mem.obj"
79 else
80 OBJS="$OBJS $OBJDIR/os_mem.obj"
81 fi
63 OBJS="$OBJS $OBJDIR/os_mis.obj" 82 OBJS="$OBJS $OBJDIR/os_mis.obj"
64 OBJS="$OBJS $OBJDIR/os_pro.obj" 83 OBJS="$OBJS $OBJDIR/os_pro.obj"
65 OBJS="$OBJS $OBJDIR/os_sem.obj" 84 OBJS="$OBJS $OBJDIR/os_sem.obj"
66 OBJS="$OBJS $OBJDIR/os_tim.obj" 85 OBJS="$OBJS $OBJDIR/os_tim.obj"
67 86