Last change
on this file since 159 was
158,
checked in by alain, 12 years ago
|
Introducing the giet_vm and some example applications
|
File size:
1.4 KB
|
Line | |
---|
1 | /********************************************************************************/ |
---|
2 | /* File : giet_config.h */ |
---|
3 | /* Author : Alain Greiner */ |
---|
4 | /* Date : 26/03/2012 */ |
---|
5 | /********************************************************************************/ |
---|
6 | /* Define various configuration parameters for the GIET */ |
---|
7 | /********************************************************************************/ |
---|
8 | |
---|
9 | #ifndef _CONFIG_H |
---|
10 | #define _CONFIG_H |
---|
11 | |
---|
12 | /* Debug parameters */ |
---|
13 | |
---|
14 | #define BOOT_DEBUG_VIEW 0 /* display the mapping_info on system TTY */ |
---|
15 | #define BOOT_DEBUG_PT 0 /* display the page tables after mapping */ |
---|
16 | #define BOOT_DEBUG_CTX 0 /* display the task contexts after mapping */ |
---|
17 | |
---|
18 | #define GIET_DEBUG_SWITCH 0 /* Trace context switchs */ |
---|
19 | |
---|
20 | /* hardware parameters */ |
---|
21 | |
---|
22 | #define NB_CLUSTERS 1 /* number of clusters */ |
---|
23 | #define CLUSTER_SPAN 0 /* address increment between clusters */ |
---|
24 | #define NB_PROCS 4 /* number of processors per cluster */ |
---|
25 | #define NB_TIMERS 4 /* number of timers per cluster */ |
---|
26 | #define NB_DMAS 4 /* number of DMA channels per cluster */ |
---|
27 | #define NB_TTYS 7 /* total number of TTY terminals */ |
---|
28 | |
---|
29 | /* software parameters */ |
---|
30 | |
---|
31 | #define GIET_NB_TASKS_MAX 4 /* max number of tasks per processor */ |
---|
32 | #define GIET_NB_VSPACE_MAX 3 /* max number of virtual spaces */ |
---|
33 | #define GIET_NB_PT2_MAX 16 /* max number of level 2 page tables per vspace */ |
---|
34 | #define GIET_TICK_VALUE 20000 /* context switch period (number of cycles) */ |
---|
35 | |
---|
36 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.