Ignore:
Timestamp:
May 29, 2013, 1:24:09 AM (11 years ago)
Author:
alain
Message:

Major evolution to support physical addresses larger than 32 bits.
The map.xml format has been modified: the vsegs associated to schedulers
are now explicitely defined and mapped in the page tables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_config.h

    r232 r238  
    22/*      File : giet_config.h                                                        */
    33/*      Author : Alain Greiner                                                      */
    4 /*      Date : 26/03/2012                                                           */
     4/*      Date : 26/03/2013                                                           */
    55/********************************************************************************/
    66/*      Define various configuration parameters for the GIET                                */
    77/********************************************************************************/
    88
    9 #ifndef _CONFIG_H
    10 #define _CONFIG_H
     9#ifndef _GIET_CONFIG_H
     10#define _GIET_CONFIG_H
    1111
    1212/* hardware parameters */
    1313#include "hard_config.h"
    1414
    15 
    1615/* Debug parameters */
    1716
    18 #define BOOT_DEBUG_PERI     0                   /* trace peripherals initialisation */
    19 #define BOOT_DEBUG_PT           0                       /* trace page tables initialisation */
    20 #define BOOT_DEBUG_VOBJS        0                       /* trace vobjs initialisation */
    21 #define BOOT_DEBUG_SCHED        0                       /* trace schedulers initialisation */
     17#define BOOT_DEBUG_PERI          1                      /* trace peripherals initialisation */
     18#define BOOT_DEBUG_PT                1                  /* trace page tables initialisation */
     19#define BOOT_DEBUG_VOBJS             1                  /* trace vobjs initialisation */
     20#define BOOT_DEBUG_SCHED             1                  /* trace schedulers initialisation */
    2221
    23 #define GIET_DEBUG_INIT         0                       /* trace parallel kernel initialisation */
    24 #define GIET_DEBUG_SWITCH       0                       /* trace context switchs  */
     22#define GIET_DEBUG_INIT              0                  /* trace parallel kernel initialisation */
     23#define GIET_DEBUG_SWITCH            0                  /* trace context switchs  */
     24#define GIET_DEBUG_IOC_DRIVER    0          /* trace IOC accesses */
     25#define GIET_DEBUG_DMA_DRIVER    0          /* trace DMA accesses */
    2526
    2627#define CONFIG_SRL_VERBOSITY TRACE
     
    2829/* software parameters */
    2930
    30 #define GIET_NB_VSPACE_MAX      64                      /* max number of virtual spaces */
    31 #define GIET_TICK_VALUE     0x100000            /* context switch period (number of cycles) */
     31#define GIET_CLUSTER_INCREMENT   0x100000       /* address increment for replicated peripherals */
     32#define GIET_NB_VSPACE_MAX           64                 /* max number of virtual spaces */
     33#define GIET_TICK_VALUE          0x100000       /* context switch period (number of cycles) */
    3234
    3335#endif
Note: See TracChangeset for help on using the changeset viewer.