1 /*******************************************************************************
2 ################################################################################
3 # Copyright (c) [2017-2019] [Radisys] #
5 # Licensed under the Apache License, Version 2.0 (the "License"); #
6 # you may not use this file except in compliance with the License. #
7 # You may obtain a copy of the License at #
9 # http://www.apache.org/licenses/LICENSE-2.0 #
11 # Unless required by applicable law or agreed to in writing, software #
12 # distributed under the License is distributed on an "AS IS" BASIS, #
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14 # See the License for the specific language governing permissions and #
15 # limitations under the License. #
16 ################################################################################
17 *******************************************************************************/
19 /********************************************************************20**
21 Name: System Services -- Driver tasks
25 Desc: Data structure definitions required for driver tasks.
29 *********************************************************************21*/
40 #ifdef SS_DRVR_SUPPORT
42 /* individual entry in the table of driver tasks */
43 typedef struct ssDrvrTskEntry
45 /* Any implementation specific content */
50 Bool used; /* entry is used or not */
51 Inst channel; /* channel ID */
52 ActvTsk actvTsk; /* activation function */
53 ISTsk isTsk; /* interrupt service task */
54 ProcId low; /* processor ID -- low */
55 ProcId high; /* processor ID -- high */
57 SLockId lock; /* to serialize calls to the
58 activation function */
62 #endif /* SS_DRVR_SUPPORT */
69 #endif /* __SSDRVRX__ */
73 /********************************************************************30**
76 **********************************************************************/