source: soft/giet_vm/giet_config.h @ 295

Last change on this file since 295 was 295, checked in by alain, 10 years ago

Introducing a major release, to suppoort the tsar_generic_leti platform
and the various (external or internal) peripherals configurations.
The map.xml format has been modified, in order to support the new
vci_iopic componentand a new policy for peripherals initialisation.
The IRQs are nom described in the XICU and IOPIC components
(and not anymore in the processors).
To enforce this major change, the map.xml file signature changed:
The signature value must be: 0xDACE2014

This new release has been tested on the tsar_generic_leti platform
for the following mappings:

  • 4c_4p_sort_leti
  • 4c_4p_sort_leti_ext
  • 4c_4p_transpose_leti
  • 4c_4p_transpose_leti_ext
  • 4c_1p_four_leti_ext
File size: 2.3 KB
Line 
1/********************************************************************************/
2/*      File : giet_config.h                                                        */
3/*      Author : Alain Greiner                                                      */
4/*      Date : 26/03/2013                                                           */
5/********************************************************************************/
6/*      Define various configuration parameters for the GIET                                */
7/********************************************************************************/
8
9#ifndef _GIET_VM_CONFIG_H
10#define _GIET_VM_CONFIG_H
11
12/* hardware parameters */
13#include "hard_config.h"
14
15/* Debug parameters */
16
17#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 */
21#define BOOT_DEBUG_PERI          0                      /* trace peripherals initialisation */
22#define BOOT_DEBUG_ELF           0          /* trace .elf files loading */
23
24#define GIET_DEBUG_INIT              0                  /* trace parallel kernel initialisation */
25#define GIET_DEBUG_FAT           0          /* trace fat accesses */ 
26#define GIET_DEBUG_SWITCH            0          /* trace context switchs  */
27#define GIET_DEBUG_IRQS          0              /* trace interrupts */
28#define GIET_DEBUG_IOC_DRIVER    0          /* trace IOC accesses */
29#define GIET_DEBUG_BDV_DRIVER    0          /* trace BDV accesses */
30#define GIET_DEBUG_TTY_DRIVER    0          /* trace TTY accesses */
31#define GIET_DEBUG_DMA_DRIVER    0          /* trace DMA accesses */
32#define GIET_DEBUG_FBF_DRIVER    0          /* trace FBF accesses */
33
34#define CONFIG_SRL_VERBOSITY TRACE
35
36/* software parameters */
37
38#define GIET_IDLE_TASK_PERIOD    0xFFFFFFFF /* Idle Task message period */
39#define GIET_MAX_ELF_FILES       20         /* max .elf files loaded by boot-loader */
40#define GIET_OPEN_FILES_MAX      16         /* max simultaneously open files */
41#define GIET_NB_VSPACE_MAX           64                 /* max number of virtual spaces */
42#define GIET_TICK_VALUE          0x8000     /* context switch period (number of cycles) */
43#define GIET_USE_IOMMU           0          /* IOMMU activated when non zero */
44#define GIET_NO_HARD_CC          0          /* No hard cache coherence when non zero */
45
46#endif
47
Note: See TracBrowser for help on using the repository browser.