1 |
kusanagi |
1.1 |
/**************************************************************************** |
2 |
|
|
/* F i l e D a t a |
3 |
|
|
/* |
4 |
|
|
/* Module : Initialization |
5 |
|
|
/* C.I. No. : |
6 |
|
|
/* $Revision: 1.1.1.1 $ |
7 |
|
|
/* $Date: 2003/08/04 09:40:21 $ |
8 |
|
|
/* Belonging to : |
9 |
|
|
/* : |
10 |
|
|
/* $RCSfile: IN_InitManager_p.c,v $ |
11 |
|
|
/* Program Type : |
12 |
|
|
/* Sub-modules : |
13 |
|
|
/* |
14 |
|
|
/**************************************************************************** |
15 |
|
|
/* S W D e v e l o p m e n t E n v i r o n m e n t |
16 |
|
|
/* |
17 |
|
|
/* Host system : |
18 |
|
|
/* SW Compiler : |
19 |
|
|
/* $Author: sebastiani $ |
20 |
|
|
/* : |
21 |
|
|
/**************************************************************************** |
22 |
|
|
/* U p d a t i n g |
23 |
|
|
/* |
24 |
|
|
/* $Log: IN_InitManager_p.c,v $ |
25 |
|
|
/* Revision 1.1.1.1 2003/08/04 09:40:21 sebastiani |
26 |
|
|
/* Imported sources laben rel. 19.06.2003 integrated with pam2 |
27 |
|
|
/* |
28 |
|
|
/* Revision 1.3 2002/05/09 08:16:34 zulia |
29 |
|
|
/* * acceptance release |
30 |
|
|
/* |
31 |
|
|
/* |
32 |
|
|
/*****************************************************************************/ |
33 |
|
|
|
34 |
|
|
/*============================= Include File ================================*/ |
35 |
|
|
|
36 |
|
|
#include <src/Initialization/InitManager/IN_InitManager_p.h> |
37 |
|
|
#include <src/Initialization/InitManager/IN_InitManager_op.h> |
38 |
|
|
|
39 |
|
|
|
40 |
|
|
/*****************************************************************************/ |
41 |
|
|
|
42 |
|
|
/*======= I n i t M a n a g e r P R O V I D E D I N T E R F A C E ======*/ |
43 |
|
|
|
44 |
|
|
/*****************************************************************************/ |
45 |
|
|
|
46 |
|
|
/*========================= E N T R Y P O I N T ==========================*/ |
47 |
|
|
|
48 |
|
|
/*****************************************************************************/ |
49 |
|
|
/* @Function: IN_piSystemInitialization */ |
50 |
|
|
/* @Purpose : */ |
51 |
|
|
/* This function is called from the RTEMS init_exec function and has the */ |
52 |
|
|
/* responsibility for resources creation and starting. Morever during this */ |
53 |
|
|
/* step all the initializations of the application are performed. */ |
54 |
|
|
/* At the end the task is deleted. */ |
55 |
|
|
/* */ |
56 |
|
|
/* @@ */ |
57 |
|
|
/* @Parameter Name @Mode @Description */ |
58 |
|
|
/* IN */ |
59 |
|
|
/* task OUT Return code */ |
60 |
|
|
/* @@ */ |
61 |
|
|
/*****************************************************************************/ |
62 |
|
|
|
63 |
|
|
task IN_piSystemInitialization(task_argument argument) |
64 |
|
|
{ |
65 |
|
|
|
66 |
|
|
/* Initialize the application */ |
67 |
|
|
IN_opInitAllSystem(); |
68 |
|
|
|
69 |
|
|
/* ========================================================================== |
70 |
|
|
Delete task Init |
71 |
|
|
==========================================================================*/ |
72 |
|
|
OS_piTaskDelete(SELF); |
73 |
|
|
} |