source: soft/giet_vm/giet_config.h @ 263

Last change on this file since 263 was 263, checked in by alain, 11 years ago

Introducing support for TSAR fixed format cluster index (cluster_xy)
We have now 4 parameters defined in map.xml:

  • X_WIDTH, Y_WIDTH define the fixed format (typically X_WIDTH = 4 / Y_WIDTH = 4)
  • X_SIZE, Y_SIZE define the actual TSAR 2D mesh variable size (from 1 to 16)
File size: 2.1 KB
RevLine 
[158]1/********************************************************************************/
[165]2/*      File : giet_config.h                                                        */
3/*      Author : Alain Greiner                                                      */
[238]4/*      Date : 26/03/2013                                                           */
[158]5/********************************************************************************/
[165]6/*      Define various configuration parameters for the GIET                                */
[158]7/********************************************************************************/
8
[258]9#ifndef _GIET_VM_CONFIG_H
10#define _GIET_VM_CONFIG_H
[158]11
[215]12/* hardware parameters */
13#include "hard_config.h"
14
[158]15/* Debug parameters */
16
[254]17#define BOOT_DEBUG_MAPPING       0                      /* trace map_info checking */
[240]18#define BOOT_DEBUG_PT                0                  /* trace page tables initialisation */
19#define BOOT_DEBUG_VOBJS             0                  /* trace vobjs initialisation */
[258]20#define BOOT_DEBUG_SCHED             0                  /* trace schedulers initialisation */
[253]21#define BOOT_DEBUG_PERI          0                      /* trace peripherals initialisation */
[258]22#define BOOT_DEBUG_ELF           0          /* trace .elf files loading */
[158]23
[238]24#define GIET_DEBUG_INIT              0                  /* trace parallel kernel initialisation */
[263]25
[258]26#define GIET_DEBUG_FAT           0          /* trace fat accesses */ 
[238]27#define GIET_DEBUG_SWITCH            0                  /* trace context switchs  */
28#define GIET_DEBUG_IOC_DRIVER    0          /* trace IOC accesses */
29#define GIET_DEBUG_DMA_DRIVER    0          /* trace DMA accesses */
[263]30#define GIET_DEBUG_FBF_DRIVER    1          /* trace FBF accesses */
[158]31
[160]32#define CONFIG_SRL_VERBOSITY TRACE
33
[158]34/* software parameters */
35
[258]36#define GIET_IDLE_TASK_PERIOD    10000000   /* Idle Task message period */
37#define GIET_MAX_ELF_FILES       20         /* max .elf files loaded by boot-loader */
38#define GIET_OPEN_FILES_MAX      16         /* max simultaneously open files */
[238]39#define GIET_NB_VSPACE_MAX           64                 /* max number of virtual spaces */
[258]40#define GIET_TICK_VALUE          100000         /* context switch period (number of cycles) */
[249]41#define GIET_USE_IOMMU           0          /* IOMMU activated when non zero */
[258]42#define GIET_NO_HARD_CC          0          /* No hard cache coherence when non zero */
43
[166]44#endif
[158]45
Note: See TracBrowser for help on using the repository browser.