comparison src/g23m-aci/gdd_dio/gdd_dio_kerf.c @ 1:fa8dc04885d8

src/g23m-*: import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:25:50 +0000
parents
children
comparison
equal deleted inserted replaced
0:4e78acac3d88 1:fa8dc04885d8
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() */