1 /* -------------------------------- Arctic Core ------------------------------
2 * Arctic Core - the open source AUTOSAR platform http://arccore.com
4 * Copyright (C) 2009 ArcCore AB <contact@arccore.com>
6 * This source code is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by the
8 * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * -------------------------------- Arctic Core ------------------------------*/
23 #ifndef EXT_CONFIG_H_
\r
24 #define EXT_CONFIG_H_
\r
26 /* Created in Oil_Config */
\r
29 struct counter_obj_s;
\r
30 struct sched_table_s;
\r
33 struct resource_obj_s;
\r
35 struct message_obj_s;
\r
36 //extern struct pcb_s pcb_list[];
\r
37 //extern struct app_s app_list[];
\r
38 //extern struct rom_app_s rom_app_list[];
\r
40 int Oil_GetApplCnt(void);
\r
41 struct rom_app_s *Oil_GetApplObj( ApplicationType application_id );
\r
42 int Oil_GetTaskCnt(void);
\r
43 void *Oil_GetIdleProcStack(void);
\r
44 int Oil_GetResourceCnt(void);
\r
45 StatusType Oil_GetAlarmBase(AlarmType alarm_id, AlarmBaseRefType info);
\r
46 uint32 Oil_GetAlarmCnt(void);
\r
47 struct alarm_obj_s *Oil_GetAlarmObj( AlarmType alarm_id );
\r
48 struct counter_obj_s *Oil_GetCounter(CounterType);
\r
49 uint32 Oil_GetCounterCnt(void );
\r
50 uint32 Oil_GetSchedCnt( void );
\r
51 struct sched_table_s *Oil_GetSched( ScheduleTableType sched_id );
\r
52 uint32 Oil_GetServiceCnt( void ) ;
\r
53 struct resource_obj_s *Oil_GetResource( ResourceType resource );
\r
55 struct message_obj_s *Oil_GetMessage(MessageType message_id);
\r
56 uint32 Oil_GetMessageCnt(void );
\r
58 #endif /*EXT_CONFIG_H_*/
\r