Changeset 389


Ignore:
Timestamp:
Aug 7, 2014, 12:42:16 PM (10 years ago)
Author:
alain
Message:

Bloup

Location:
soft/giet_vm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/Makefile

    r380 r389  
    99
    1010ARCH ?= ../tsar-trunk-svn-2013/platforms/tsar_generic_iob
    11 X    ?= 16
    12 Y    ?= 8
    13 P    ?= 4
     11X    ?= 2
     12Y    ?= 2
     13P    ?= 2
    1414APP  ?= convol
    1515
     
    8181
    8282### Objects to be linked for game.elf
    83 GAMEOFLIFE_OBJS = build/gameoflife/main.o    \
    84                   build/libs/stdio.o         \
    85                   build/libs/barrier.o       \
    86                   build/libs/remote_malloc.o \
     83GAMEOFLIFE_OBJS = build/gameoflife/main.o \
     84                  build/libs/stdio.o      \
     85                  build/libs/barrier.o    \
     86                  build/libs/malloc.o    \
    8787                  build/libs/spin_lock.o
    8888                 
     
    101101              build/libs/stdio.o         \
    102102              build/libs/barrier.o       \
    103               build/libs/remote_malloc.o \
     103              build/libs/malloc.o        \
    104104              build/libs/spin_lock.o
    105105
    106106### Objects to be linked for transpose.elf
    107 TRANSPOSE_OBJS = build/transpose/main.o     \
    108                  build/libs/stdio.o         \
    109                  build/libs/barrier.o       \
    110                  build/libs/remote_malloc.o \
     107TRANSPOSE_OBJS = build/transpose/main.o  \
     108                 build/libs/stdio.o      \
     109                 build/libs/barrier.o    \
     110                 build/libs/malloc.o    \
    111111                 build/libs/spin_lock.o
    112112
    113113### Objects to be linked for convol.elf
    114 CONVOL_OBJS  = build/convol/main.o        \
    115                build/libs/stdio.o         \
    116                build/libs/stdlib.o        \
    117                build/libs/barrier.o       \
    118                build/libs/remote_malloc.o \
     114CONVOL_OBJS  = build/convol/main.o       \
     115               build/libs/stdio.o        \
     116               build/libs/stdlib.o       \
     117               build/libs/barrier.o      \
     118               build/libs/malloc.o      \
    119119               build/libs/spin_lock.o
    120120
     
    414414        $(CC) $(CFLAGS) $(USER_INCLUDE) -c -o $@ $<
    415415
    416 build/libs/remote_malloc.o: giet_libs/remote_malloc.c \
    417                             giet_libs/spin_lock.h \
    418                             hard_config.h         \
    419                             giet_config.h
    420         $(CC) $(CFLAGS) $(USER_INCLUDE) -c -o $@ $<
    421 
    422416build/libs/sbt_barrier.o: giet_libs/sbt_barrier.c \
    423417                          hard_config.h         \
  • soft/giet_vm/giet_config.h

    r380 r389  
    1616
    1717#define BOOT_DEBUG_MAPPING       0          /* trace map_info checking */
    18 #define BOOT_DEBUG_PT            0          /* trace page tables initialisation */
    19 #define BOOT_DEBUG_VOBJS        0          /* trace vobjs initialisation */
    20 #define BOOT_DEBUG_SCHED         0          /* trace schedulers initialisation */
     18#define BOOT_DEBUG_PT            0          /* trace page tables initialisation */
     19#define BOOT_DEBUG_VOBJS        0          /* trace vobjs initialisation */
     20#define BOOT_DEBUG_SCHED         0          /* trace schedulers initialisation */
    2121#define BOOT_DEBUG_PERI          0          /* trace peripherals initialisation */
    2222#define BOOT_DEBUG_ELF           0          /* trace .elf files loading */
    2323
    24 #define GIET_DEBUG_INIT          0          /* trace kernel initialisation */
     24#define GIET_DEBUG_INIT          0          /* trace kernel initialisation */
    2525#define GIET_DEBUG_FAT           0          /* trace fat accesses */
    26 #define GIET_DEBUG_SWITCH        0          /* trace context switchs  */
     26#define GIET_DEBUG_SWITCH        0          /* trace context switchs  */
    2727#define GIET_DEBUG_IRQS          0          /* trace interrupts */
    2828#define GIET_DEBUG_IOC_DRIVER    0          /* trace IOC accesses */
     
    4141#define GIET_MAX_ELF_FILES       20         /* max .elf files loaded by boot-loader */
    4242#define GIET_OPEN_FILES_MAX      16         /* max simultaneously open files */
    43 #define GIET_NB_VSPACE_MAX      64         /* max number of virtual spaces */
     43#define GIET_NB_VSPACE_MAX      64         /* max number of virtual spaces */
    4444#define GIET_TICK_VALUE          0x00008000 /* context switch period (number of cycles) */
    4545#define GIET_USE_IOMMU           0          /* IOMMU activated when non zero */
  • soft/giet_vm/giet_libs/stdio.h

    r382 r389  
    337337
    338338///////////////////////////////////////////////////////////////////////////////////
    339 // Write "count" sectors from a file identified by "fd", skipping "offset"
     339// Write "count" sectors into a file identified by "fd", skipping "offset"
    340340// sectors in file, and reading from the user "buffer".
    341341// The user buffer base address shoulb be 64 bytes aligned.
     
    405405// and kill the calling task if the condition is false.
    406406//////////////////////////////////////////////////////////////////////////
    407 extern void giet_assert( unsigned int,
    408                          char* string );
     407extern void giet_assert( unsigned int condition,
     408                         char*        string );
     409
     410//////////////////////////////////////////////////////////////////////////
     411// The user task calling this function is descheduled and
     412// the processor is allocated to another task.
     413//////////////////////////////////////////////////////////////////////////
     414extern void giet_context_switch();
    409415
    410416//////////////////////////////////////////////////////////////////////////
     
    426432extern void giet_procnumber( unsigned int cluster_xy,
    427433                             unsigned int buffer );
    428 
    429 //////////////////////////////////////////////////////////////////////////
    430 // The user task calling this function is descheduled and
    431 // the processor is allocated to another task.
    432 //////////////////////////////////////////////////////////////////////////
    433 extern void giet_context_switch();
    434434
    435435//////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.