comparison src/g23m-aci/gdd_dio/gdd_dio_kerf.c @ 162:53929b40109c

src/g23m-aci: initial import from TCS3.2/LoCosto
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 11 Oct 2016 02:02:43 +0000
parents
children
comparison
equal deleted inserted replaced
161:4557e2a9c18e 162:53929b40109c
1 /*
2 +-----------------------------------------------------------------------------
3 | File : gdd_dio_kerf.c
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 : This modul is part of the entity gdd_dio and implements the
17 | kernel service functions.
18 +-----------------------------------------------------------------------------
19 */
20
21
22 #define ENTITY_GDD_DIO
23
24 /*==== INCLUDES =============================================================*/
25
26 #include "typedefs.h" /* to get Condat data types */
27 #include "vsi.h" /* to get a lot of macros */
28 #include "prim.h" /* to get the definitions of used SAP and directions */
29 #include "dti.h"
30 #include "gdd_dio.h" /* to get the global entity definitions */
31
32
33 /*==== CONST ================================================================*/
34
35 /*==== LOCAL VARS ===========================================================*/
36
37 /*==== PRIVATE FUNCTIONS ====================================================*/
38
39 /*==== PUBLIC FUNCTIONS =====================================================*/
40
41
42 /*
43 +------------------------------------------------------------------------------
44 | Function : ker_init
45 +------------------------------------------------------------------------------
46 | Description : The function ker_init() initializes the state of the
47 | kernel service. The state of DIO is initialized independently
48 | when dio_init_bat() is called.
49 +------------------------------------------------------------------------------
50 */
51 GLOBAL int gdd_dio_ker_init ()
52 {
53 TRACE_FUNCTION( "ker_init" );
54
55 /* Nothing to do currently. The state of each kernel
56 (gdd_dio_data_base[<instance>].ker.state is static and automatically
57 set to GDD_DIO_KER_DEAD on start-up. */
58
59 return 1;
60 } /* ker_init() */