FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/gpf/inc/os_glob.h @ 316:79080922d8e4
GPF: FRAME C sources and include files imported from LoCosto source
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 10 Apr 2014 04:06:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
315:1b4beffc8055 | 316:79080922d8e4 |
---|---|
1 /* | |
2 +------------------------------------------------------------------------------ | |
3 | File: os_glob.h | |
4 +------------------------------------------------------------------------------ | |
5 | Copyright 2002 Texas Instruments Berlin, AG | |
6 | All rights reserved. | |
7 | | |
8 | This file is confidential and a trade secret of Texas | |
9 | Instruments Berlin, AG | |
10 | The receipt of or possession of this file does not convey | |
11 | any rights to reproduce or disclose its contents or to | |
12 | manufacture, use, or sell anything it may describe, in | |
13 | whole, or in part, without the specific written consent of | |
14 | Texas Instruments Berlin, AG. | |
15 +----------------------------------------------------------------------------- | |
16 | Purpose : Global tabless for the Nucleus OS adaptation layer | |
17 +----------------------------------------------------------------------------- | |
18 */ | |
19 | |
20 #ifndef OS_GLOB_H | |
21 #define OS_GLOB_H | |
22 | |
23 /*==== INCLUDES =============================================================*/ | |
24 | |
25 #include "os_types.h" | |
26 | |
27 /*==== CONSTANTS ============================================================*/ | |
28 | |
29 /*==== TYPES ================================================================*/ | |
30 | |
31 /*==== VARIABLES ============================================================*/ | |
32 | |
33 #ifndef CONFIG_MODULE | |
34 | |
35 extern USHORT MaxTasks; | |
36 extern USHORT MaxCommunications; | |
37 extern USHORT MaxSimultaneousTimer; | |
38 extern USHORT MaxTimer; | |
39 extern USHORT MaxSemaphores; | |
40 extern USHORT MaxOSISRs; | |
41 extern USHORT MaxEventGroups; | |
42 extern USHORT MaxPoolGroups; | |
43 extern USHORT MaxMemoryPools; | |
44 #else | |
45 | |
46 #ifndef DATA_INT_RAM | |
47 USHORT MaxOSISRs = MAX_OSISRS; | |
48 USHORT MaxTasks = MAX_OS_TASKS; | |
49 USHORT MaxCommunications = MAX_COMMUNICATIONS; | |
50 USHORT MaxSimultaneousTimer = MAX_SIMULTANEOUS_TIMER; | |
51 USHORT MaxSemaphores = MAX_SEMAPHORES; | |
52 USHORT MaxEventGroups = MAX_EVENT_GROUPS; | |
53 USHORT MaxPoolGroups = MAX_POOL_GROUPS; | |
54 USHORT MaxMemoryPools = MAX_MEMORY_POOLS; | |
55 | |
56 GLOBAL T_OS_TASK_TABLE_ENTRY TaskTable [ MAX_OS_TASKS + 1 ]; | |
57 GLOBAL T_OS_COM_TABLE_ENTRY ComTable [ MAX_COMMUNICATIONS + 1 ]; | |
58 GLOBAL T_OS_TIMER_ENTRY TimerTable [ MAX_SIMULTANEOUS_TIMER + 1 ]; | |
59 GLOBAL T_OS_SEM_TABLE_ENTRY SemTable [ MAX_SEMAPHORES + 1 ]; | |
60 GLOBAL T_OS_OSISR_TABLE_ENTRY OSISRTable [ MAX_OSISRS + 1 ]; | |
61 GLOBAL T_OS_PART_GRP_TABLE_ENTRY PartGrpTable [ MAX_POOL_GROUPS + 1 ]; | |
62 GLOBAL T_OS_MEM_POOL_TABLE_ENTRY MemPoolTable [ MAX_MEMORY_POOLS + 1 ]; | |
63 GLOBAL T_OS_EVTGRP_TABLE_ENTRY EvtGrpTable[ MAX_EVENT_GROUPS + 1 ]; | |
64 GLOBAL T_OS_TIMER_TABLE_ENTRY *p_list [ MAX_SIMULTANEOUS_TIMER + 1 ]; | |
65 GLOBAL T_OS_POOL_BORDER PoolBorder [ MAX_POOL_GROUPS+1]; | |
66 | |
67 GLOBAL const char *os_dar_filename = "/var/dbg/dar"; | |
68 GLOBAL ULONG os_dar_write_buffer_size = 3000; | |
69 #endif /* DATA_INT_RAM */ | |
70 | |
71 | |
72 #endif | |
73 | |
74 #endif |