annotate gsm-fw/osx/cust_os.h @ 407:f2cc551e597f

fc-loadtool flash: beginning of Intel command set support
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 17 Jun 2014 01:39:59 +0000
parents eba29cb0526c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
156
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 /*
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 +------------------------------------------------------------------------------
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 | File: cust_os.h
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 +------------------------------------------------------------------------------
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 | Copyright 2002 Texas Instruments Berlin, AG
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 | All rights reserved.
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 |
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 | This file is confidential and a trade secret of Texas
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 | Instruments Berlin, AG
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 | The receipt of or possession of this file does not convey
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 | any rights to reproduce or disclose its contents or to
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 | manufacture, use, or sell anything it may describe, in
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13 | whole, or in part, without the specific written consent of
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14 | Texas Instruments Berlin, AG.
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15 +-----------------------------------------------------------------------------
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 | Purpose : Definitions for the communication between L1 and L23 entities.
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17 | This interface file provides an abstraction of the VSI
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 | interface, e.g. to avoid that macros like PALLOC need to be used
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 | by the customer.
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 +-----------------------------------------------------------------------------
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21 */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22 #ifndef CUST_OS_H
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23 #define CUST_OS_H
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
24
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
25 /*==== INCLUDES =============================================================*/
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
26
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
27 /*==== CONSTS ===============================================================*/
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
28
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
29 #define OSX_OK 0
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
30 #define OSX_ERROR -1
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
31
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
32 #define L1S_TRACE_DISABLE "L1S_TRACE_DISABLE"
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
33 #define L1S_TRACE_ENABLE "L1S_TRACE_ENABLE"
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
34 #define NO_SPECIAL_MPHC_RXLEV_REQ "NO_SPEC_MPHC_RXLEV_REQ"
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
35
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
36 /*==== TYPES ================================================================*/
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
37
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
38 /* Necessary defintions*/
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
39 typedef enum
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
40 {
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
41 L1_QUEUE, /* internal L1 communication */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
42 DL_QUEUE, /* L1->DL */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
43 RR_QUEUE, /* L1->RR */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
44 GRR_QUEUE, /* L1->GRR */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
45 LLC_QUEUE, /* L1->LLC e.g. ciphering via CCI */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
46 SNDCP_QUEUE, /* L1->SNDCP e.g. compression via CCI */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
47 GPF_ACI_QUEUE, /* L1->ACI */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
48 MAX_OSX_QUEUE
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
49 } T_ENUM_OS_QUEUE;
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
50
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
51 typedef T_ENUM_OS_QUEUE ENUM_OS_QUEUE;
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
52
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
53 typedef struct {
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
54 char dummychar;
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
55 } DummyStruct;
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
56
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
57 typedef struct xSignalHeaderStruct
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
58 {
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
59 int SignalCode;
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
60 int _dummy1;
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
61 int _dummy2;
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
62 int _dummy3;
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
63 DummyStruct *SigP;
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
64 int _dummy4;
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
65 } xSignalHeaderRec;
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
66
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
67 typedef struct
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
68 {
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
69 int caller;
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
70 int queue_handle;
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
71 unsigned short queue_type;
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
72 } T_OSX_REGISTER;
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
73
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
74
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
75 /*==== EXPORTS ==============================================================*/
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
76
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
77 /*
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
78 * =================================================
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
79 * functional interface to the GPF frame environment
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
80 * =================================================
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
81 */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
82
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
83 /*
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
84 * initialize queue_type to queue_handle conversion table
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
85 */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
86 void _osx_init ( void );
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
87
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
88 /*
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
89 * dynamic osx configuration
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
90 */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
91 int _osx_config ( const char *config );
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
92
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
93 /*
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
94 * open an cust_os communication channel
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
95 */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
96 #ifdef _OSX_ON_OS_
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
97 int _osx_open (int,unsigned short,int,int);
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
98 #else
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
99 int _osx_open (int,unsigned short,int);
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
100 #endif
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
101
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
102 /*
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
103 * allocation of a primitive container with a specific size e.g. sizeof (T_XXX_REQ)
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
104 */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
105 xSignalHeaderRec* osx_alloc_prim (unsigned long);
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
106
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
107 xSignalHeaderRec* int_osx_alloc_prim (int,unsigned long, int);
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
108
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
109 /*
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
110 * allocation of a memory section with a specific size
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
111 */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
112 void* osx_alloc_mem (unsigned long);
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
113
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
114 void* int_osx_alloc_mem (int,unsigned long);
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
115
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
116 /*
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
117 * deallocation of one primitive container
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
118 */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
119 void osx_free_prim (xSignalHeaderRec*);
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
120
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
121 void int_osx_free_prim (int,xSignalHeaderRec*);
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
122
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
123 /*
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
124 * deallocation of one memory section
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
125 */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
126 void osx_free_mem (void*);
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
127
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
128 void int_osx_free_mem (int,void*);
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
129
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
130 /*
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
131 * reception of a primitive. This function should be called from a thread. It suspends
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
132 * the thread on an empty queue. Queue is specified by an idetifier,
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
133 */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
134 xSignalHeaderRec* osx_receive_prim (T_ENUM_OS_QUEUE);
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
135
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
136 /*
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
137 * reception of a primitive. This function should be called from a thread. It suspends
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
138 * the thread on an empty queue. Queue is specified by its handle
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
139 */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
140 xSignalHeaderRec *int_osx_receive_prim (int,int);
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
141
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
142 /*
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
143 * send a primtive to a queue specified by an identifier (no frame handle!)
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
144 */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
145 void osx_send_prim (xSignalHeaderRec*, T_ENUM_OS_QUEUE);
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
146
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
147 /*
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
148 * send a primtive to a queue specified by a handle
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
149 */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
150 void int_osx_send_prim (int,xSignalHeaderRec*, int);
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
151
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
152 /*
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
153 * send a signal with a special signal code (ULONG) and a pointer to a specific memory
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
154 * area to a queue specified by an identifier
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
155 */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
156 void osx_send_sig (unsigned long, void *, T_ENUM_OS_QUEUE);
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
157
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
158 /*
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
159 * send a signal with a special signal code (ULONG) and a pointer to a specific memory
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
160 * area to a queue specified by its handle
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
161 */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
162 void int_osx_send_sig (int,unsigned long,void*,int);
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
163
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
164 /*
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
165 * ================================================
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
166 * customizations for the L1 from Texas Instruments
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
167 * ================================================
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
168 */
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
169 #define L1C1_QUEUE L1_QUEUE
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
170 #define DLL1_QUEUE DL_QUEUE
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
171 #define RRM1_QUEUE RR_QUEUE
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
172 #define GRRM1_QUEUE GRR_QUEUE
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
173 #define BACK_QUEUE L1_QUEUE
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
174 #define ACI_QUEUE GPF_ACI_QUEUE
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
175
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
176 #define os_alloc_sig osx_alloc_prim
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
177 #define os_free_sig osx_free_prim
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
178 #define os_send_sig osx_send_prim
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
179 #define os_receive_sig osx_receive_prim
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
180
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
181 #define MEM_BUF_SIZE(SIG_PAR_SIZE) (SIG_PAR_SIZE + sizeof (xSignalHeaderRec))
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
182
eba29cb0526c gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
183 #endif /* CUST_OS_H */