source: soft/giet_vm/giet_config.h @ 211

Last change on this file since 211 was 207, checked in by alain, 12 years ago

Several bugs have been fixed to support TSAR multi-cluster architecture
such as the "tsarv4-generic_mmu" platform.

File size: 2.0 KB
RevLine 
[158]1/********************************************************************************/
[165]2/*      File : giet_config.h                                                        */
3/*      Author : Alain Greiner                                                      */
4/*      Date : 26/03/2012                                                           */
[158]5/********************************************************************************/
[165]6/*      Define various configuration parameters for the GIET                                */
[158]7/********************************************************************************/
8
9#ifndef _CONFIG_H
10#define _CONFIG_H
11
12/* Debug parameters */
13
[204]14#define BOOT_DEBUG_PERI     0                   /* trace peripherals initialisation on TTY0 */
15#define BOOT_DEBUG_PT           0                       /* trace page tables initialisation on TTY0 */
16#define BOOT_DEBUG_VOBJS        0                       /* trace vobjs initialisation on TTY0 */
17#define BOOT_DEBUG_SCHED        0                       /* trace schedulers initialisation on TTY0 */
[158]18
[204]19#define GIET_DEBUG_INIT         0                       /* trace parallel kernel initialisation on TTY0 */
20#define GIET_DEBUG_SWITCH       0                       /* trace context switchs on TTY0 */
[158]21
[189]22
[160]23#define CONFIG_SRL_VERBOSITY TRACE
24
[158]25/* hardware parameters */
26
[207]27#define NB_CLUSTERS             4                       /* number of clusters */
[204]28#define CLUSTER_SIZE            0x40000000      /* address increment between clusters */
[207]29#define CLUSTER_IO_ID       2                   /* cluster containing non replicated peripherals */
[204]30       
[207]31#define NB_PROCS_MAX        1                   /* max number of processors per cluster */
[204]32#define NB_TIMERS_MAX           0                       /* max number of user timers per cluster */
33#define NB_DMAS_MAX                     1                       /* max number of DMA channels per cluster*/
34#define NB_TTYS                         8                       /* total number of TTY channels */
[207]35#define NB_IOCS                         1                       /* total number of IOC channels */
36#define NB_NICS                         8                       /* total number of NIC channels */
[158]37
38/* software parameters */
39
[204]40#define GIET_NB_VSPACE_MAX      4                       /* max number of virtual spaces */
41#define GIET_TICK_VALUE     0x4000              /* context switch period (number of cycles) */
42#define GIET_IOMMU_ACTIVE   0                   /* The IOMMU vspace is defined */
43#define GIET_USE_XICU       1                   /* Use the XICU interrupt controler */
[167]44
[166]45#endif
[158]46
Note: See TracBrowser for help on using the repository browser.