Changeset 389
- Timestamp:
- Aug 7, 2014, 12:42:16 PM (10 years ago)
- Location:
- soft/giet_vm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/Makefile
r380 r389 9 9 10 10 ARCH ?= ../tsar-trunk-svn-2013/platforms/tsar_generic_iob 11 X ?= 1612 Y ?= 813 P ?= 411 X ?= 2 12 Y ?= 2 13 P ?= 2 14 14 APP ?= convol 15 15 … … 81 81 82 82 ### 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\83 GAMEOFLIFE_OBJS = build/gameoflife/main.o \ 84 build/libs/stdio.o \ 85 build/libs/barrier.o \ 86 build/libs/malloc.o \ 87 87 build/libs/spin_lock.o 88 88 … … 101 101 build/libs/stdio.o \ 102 102 build/libs/barrier.o \ 103 build/libs/ remote_malloc.o\103 build/libs/malloc.o \ 104 104 build/libs/spin_lock.o 105 105 106 106 ### 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\107 TRANSPOSE_OBJS = build/transpose/main.o \ 108 build/libs/stdio.o \ 109 build/libs/barrier.o \ 110 build/libs/malloc.o \ 111 111 build/libs/spin_lock.o 112 112 113 113 ### 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\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/malloc.o \ 119 119 build/libs/spin_lock.o 120 120 … … 414 414 $(CC) $(CFLAGS) $(USER_INCLUDE) -c -o $@ $< 415 415 416 build/libs/remote_malloc.o: giet_libs/remote_malloc.c \417 giet_libs/spin_lock.h \418 hard_config.h \419 giet_config.h420 $(CC) $(CFLAGS) $(USER_INCLUDE) -c -o $@ $<421 422 416 build/libs/sbt_barrier.o: giet_libs/sbt_barrier.c \ 423 417 hard_config.h \ -
soft/giet_vm/giet_config.h
r380 r389 16 16 17 17 #define BOOT_DEBUG_MAPPING 0 /* trace map_info checking */ 18 #define BOOT_DEBUG_PT 19 #define BOOT_DEBUG_VOBJS 20 #define BOOT_DEBUG_SCHED 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 */ 21 21 #define BOOT_DEBUG_PERI 0 /* trace peripherals initialisation */ 22 22 #define BOOT_DEBUG_ELF 0 /* trace .elf files loading */ 23 23 24 #define GIET_DEBUG_INIT 24 #define GIET_DEBUG_INIT 0 /* trace kernel initialisation */ 25 25 #define GIET_DEBUG_FAT 0 /* trace fat accesses */ 26 #define GIET_DEBUG_SWITCH 26 #define GIET_DEBUG_SWITCH 0 /* trace context switchs */ 27 27 #define GIET_DEBUG_IRQS 0 /* trace interrupts */ 28 28 #define GIET_DEBUG_IOC_DRIVER 0 /* trace IOC accesses */ … … 41 41 #define GIET_MAX_ELF_FILES 20 /* max .elf files loaded by boot-loader */ 42 42 #define GIET_OPEN_FILES_MAX 16 /* max simultaneously open files */ 43 #define GIET_NB_VSPACE_MAX 43 #define GIET_NB_VSPACE_MAX 64 /* max number of virtual spaces */ 44 44 #define GIET_TICK_VALUE 0x00008000 /* context switch period (number of cycles) */ 45 45 #define GIET_USE_IOMMU 0 /* IOMMU activated when non zero */ -
soft/giet_vm/giet_libs/stdio.h
r382 r389 337 337 338 338 /////////////////////////////////////////////////////////////////////////////////// 339 // Write "count" sectors froma file identified by "fd", skipping "offset"339 // Write "count" sectors into a file identified by "fd", skipping "offset" 340 340 // sectors in file, and reading from the user "buffer". 341 341 // The user buffer base address shoulb be 64 bytes aligned. … … 405 405 // and kill the calling task if the condition is false. 406 406 ////////////////////////////////////////////////////////////////////////// 407 extern void giet_assert( unsigned int, 408 char* string ); 407 extern 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 ////////////////////////////////////////////////////////////////////////// 414 extern void giet_context_switch(); 409 415 410 416 ////////////////////////////////////////////////////////////////////////// … … 426 432 extern void giet_procnumber( unsigned int cluster_xy, 427 433 unsigned int buffer ); 428 429 //////////////////////////////////////////////////////////////////////////430 // The user task calling this function is descheduled and431 // the processor is allocated to another task.432 //////////////////////////////////////////////////////////////////////////433 extern void giet_context_switch();434 434 435 435 //////////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.