source: trunk/softs/soft_sort_giet/hard_config.h @ 626

Last change on this file since 626 was 626, checked in by cfuguet, 9 years ago

Introducing generic soft_sort_giet application for the
GIET nano-kernel.

It uses the number of clusters and the number of processors
defined in the hard_config.h file to deduce the number of
threads executing the application.

File size: 697 bytes
Line 
1/*******************************************************************/
2/* This file define various hardware parameters that are used by   */
3/* both the giet_tsar OS and by the hardware (top.cpp file)        */
4/*******************************************************************/
5
6#ifndef _HARD_CONFIG_H
7#define _HARD_CONFIG_H
8
9#define  X_SIZE              2
10#define  Y_SIZE              2
11#define  X_WIDTH             4
12#define  Y_WIDTH             4
13
14#define  NB_PROCS_MAX        4
15
16#define  NB_DMA_CHANNELS     0
17#define  NB_TTY_CHANNELS     (NB_PROCS_MAX * X_SIZE * Y_SIZE)
18#define  NB_HBA_CHANNELS     0
19#define  NB_NIC_CHANNELS     0
20#define  NB_CMA_CHANNELS     0
21
22
23#endif //_HARD_CONFIG_H
Note: See TracBrowser for help on using the repository browser.