Mercurial > flash_v2
annotate packages/compat/uitron/current/include/uit_func.h @ 76:435cced73e2f ecos-v1_3_1-release
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
| author | jlarmour |
|---|---|
| date | Tue, 28 Mar 2000 14:10:45 +0000 |
| parents | bf00f99aec69 |
| children | e0c0827131d1 |
| rev | line source |
|---|---|
| 0 | 1 #ifndef CYGONCE_COMPAT_UITRON_UIT_FUNC_H |
| 2 #define CYGONCE_COMPAT_UITRON_UIT_FUNC_H | |
| 3 //=========================================================================== | |
| 4 // | |
| 2 | 5 // uit_func.h |
| 0 | 6 // |
| 2 | 7 // uITRON compatibility functions |
| 0 | 8 // |
| 9 //=========================================================================== | |
| 10 //####COPYRIGHTBEGIN#### | |
|
64
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
11 // |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
12 // ------------------------------------------- |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
13 // The contents of this file are subject to the Red Hat eCos Public License |
|
66
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
14 // Version 1.1 (the "License"); you may not use this file except in |
|
64
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
15 // compliance with the License. You may obtain a copy of the License at |
|
66
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
16 // http://www.redhat.com/ |
|
64
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
17 // |
|
66
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
18 // Software distributed under the License is distributed on an "AS IS" |
|
64
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
19 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
20 // License for the specific language governing rights and limitations under |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
21 // the License. |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
22 // |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
23 // The Original Code is eCos - Embedded Configurable Operating System, |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
24 // released September 30, 1998. |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
25 // |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
26 // The Initial Developer of the Original Code is Red Hat. |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
27 // Portions created by Red Hat are |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
28 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc. |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
29 // All Rights Reserved. |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
30 // ------------------------------------------- |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
2
diff
changeset
|
31 // |
| 0 | 32 //####COPYRIGHTEND#### |
| 33 //=========================================================================== | |
| 34 //#####DESCRIPTIONBEGIN#### | |
| 35 // | |
| 2 | 36 // Author(s): hmt |
| 37 // Contributors: hmt | |
| 38 // Date: 1998-03-13 | |
| 39 // Purpose: uITRON compatibility functions | |
| 40 // Description: | |
| 0 | 41 // |
| 42 //####DESCRIPTIONEND#### | |
| 43 // | |
| 44 //=========================================================================== | |
| 45 | |
| 46 // ------------------------------------------------------------------------ | |
| 47 // Source Code Organization | |
| 48 // | |
| 49 // First, see pkgconf/uitron.h for details of applicable configuration | |
| 50 // options. | |
| 51 // | |
| 52 // This file uit_func.h provides prototypes for the uITRON API. All the | |
| 53 // uITRON functions are listed here. The prototypes are configurable | |
| 54 // either to have C or C++ linkage, and if being compiled in a C++ | |
| 55 // environment, to be inline. | |
| 56 // | |
| 57 // The function prototypes are all in terms of uITRON type definitions from | |
| 58 // uit_type.h, which is included at the head of uit_func.h. | |
| 59 // | |
| 60 // The implementations of the uITRON functions are in uit_func.inl, which | |
| 61 // is either included at the end of uit_func.h (if functions are inline) or | |
| 62 // in uit_func.cxx (if outline). | |
| 63 // | |
| 64 // uit_func.cxx provides some startup functions plus, if the uITRON | |
| 65 // functions are out of line, uit_func.inl is included to instantiate those | |
| 66 // functions. | |
| 67 // | |
| 68 // uITRON system objects (tasks, semaphores...) are described in | |
| 69 // uit_obj.hxx. This is a C++ file and is used by the implementation of | |
| 70 // the uITRON functions. | |
| 71 // | |
| 72 // The uITRON system objects are instantiated in uit_obj.cxx, which uses | |
| 73 // uit_obj.hxx to define the objects, and the configuration file | |
| 74 // pkgconf/uitron.h to construct them as required. | |
| 75 // | |
| 76 // The include graph from an application, which should only include | |
| 77 // uit_func.h, is similar to the following: | |
| 78 // | |
| 79 // | |
| 80 // [inline uITRON functions:] | |
| 81 // | |
| 82 // <your_app.c> | |
| 83 // . uit_func.h ; prototypes for funcs | |
| 84 // . . pkgconf/uitron.h ; configuration info | |
| 85 // . . uit_type.h ; typedefs for func args | |
| 86 // . (function prototypes) | |
| 87 // . . uit_func.inl ; full function bodies | |
| 88 // . . . uit_objs.hxx ; defs of uITRON data | |
| 89 // . . (function implementations) | |
| 90 // | |
| 91 // | |
| 92 // [out-of-line uITRON functions:] | |
| 93 // | |
| 94 // <your_app.c> | |
| 95 // . uit_func.h ; prototypes for funcs | |
| 96 // . . pkgconf/uitron.h ; configuration info | |
| 97 // . . uit_type.h ; typedefs for func args | |
| 98 // . (function prototypes) | |
| 99 // | |
| 100 // | |
| 101 // [other uITRON compilation units:] | |
| 102 // | |
| 103 // uit_func.cxx ; out-of-line functions | |
| 104 // . pkgconf/uitron.h ; configuration info | |
| 105 // . uit_func.h ; prototypes for funcs | |
| 106 // . . uit_type.h ; typedefs for func args | |
| 107 // . (function prototypes) | |
| 108 // . . uit_func.inl ; full function bodies | |
| 109 // . . . uit_objs.hxx ; defs of uITRON data | |
| 110 // . . (function implementations) | |
| 111 // | |
| 112 // | |
| 113 // uit_objs.cxx ; static uITRON data objects | |
| 114 // . pkgconf/uitron.h ; configuration info | |
| 115 // . uit_objs.hxx ; defs of uITRON data | |
| 116 // (static uITRON system objects) | |
| 117 // | |
| 118 // | |
| 119 // The various include files are protected against multiple inclusion and | |
| 120 // so may be safely re-included as convenient. | |
| 121 // | |
| 122 // ------------------------------------------------------------------------ | |
| 123 | |
| 124 #include <pkgconf/uitron.h> // uITRON setup CYGNUM_UITRON_SEMAS | |
| 125 // CYGPKG_UITRON et al | |
| 126 | |
| 127 #ifdef CYGPKG_UITRON | |
| 128 | |
| 129 #include <cyg/infra/cyg_type.h> // types; cyg_int32, CYG_ADDRWORD | |
| 130 | |
| 131 #include <cyg/compat/uitron/uit_type.h> // uITRON types; ER ID TMO T_MSG | |
| 132 | |
| 133 // ------------------------------------------------------------------------ | |
| 134 // Object operations: | |
| 135 // | |
| 136 // The functions can be inlined in C compiled by C++, or C++ of course, | |
| 137 // and also outlined in extern "C" functions, eg. for taking the address | |
| 138 // of, or for use by a pure C program, or of course outlined in C++ for | |
| 139 // Code size reasons. | |
| 140 // | |
| 141 // | |
| 142 // Summary: | |
| 143 // | |
| 144 // IF compiling in C | |
| 145 // THEN functions must be C linkage and out of line: | |
| 146 // do NOT specify CYGIMP_UITRON_INLINE_FUNCS nor | |
| 147 // CYGIMP_UITRON_CPP_OUTLINE_FUNCS. | |
| 148 // IF compiling in C++ | |
| 149 // THEN functions can be inline: specify CYGIMP_UITRON_INLINE_FUNCS | |
| 150 // OR by default, functions are out of line: | |
| 151 // outline functions can have C++ linkage: | |
| 152 // specify CYGIMP_UITRON_CPP_OUTLINE_FUNCS | |
| 153 // OR by default, outline functions have C linkage. | |
| 154 | |
| 155 | |
| 156 #ifdef __cplusplus | |
| 157 // C++ environment; functions can be inline or not as we please. | |
| 158 // If not inline they might as well be "C" linkage for sharing with | |
| 159 // any pure "C" code present. | |
| 160 | |
| 161 #ifdef CYGIMP_UITRON_INLINE_FUNCS | |
| 162 | |
| 163 #define CYG_UIT_FUNC_EXTERN_BEGIN | |
| 164 #define CYG_UIT_FUNC_EXTERN_END | |
| 2 | 165 #define CYG_UIT_FUNC_INLINE inline |
| 0 | 166 #ifndef CYGPRI_UITRON_FUNCS_HERE_AND_NOW |
| 167 #define CYGPRI_UITRON_FUNCS_HERE_AND_NOW | |
| 168 #endif | |
| 169 | |
| 170 #else | |
| 171 | |
| 172 #ifdef CYGIMP_UITRON_CPP_OUTLINE_FUNCS | |
| 2 | 173 #define CYG_UIT_FUNC_EXTERN_BEGIN extern "C++" { |
| 174 #define CYG_UIT_FUNC_EXTERN_END } | |
| 0 | 175 #else |
| 2 | 176 #define CYG_UIT_FUNC_EXTERN_BEGIN extern "C" { |
| 177 #define CYG_UIT_FUNC_EXTERN_END } | |
| 0 | 178 #endif |
| 179 | |
| 180 #define CYG_UIT_FUNC_INLINE | |
| 181 #endif | |
| 182 | |
| 183 #else // !__cplusplus | |
| 184 // Vanilla "C" environment; external "C" linkage, no inline functions | |
| 185 | |
| 186 #ifdef CYGIMP_UITRON_INLINE_FUNCS | |
| 187 #error "Cannot inline uITRON functions in pure C environment" | |
| 188 #endif | |
| 189 #ifdef CYGIMP_UITRON_CPP_OUTLINE_FUNCS | |
| 190 #error "Cannot use C++ linkage of outline fns in pure C environment" | |
| 191 #endif | |
| 192 | |
| 193 #define CYG_UIT_FUNC_EXTERN_BEGIN | |
| 194 #define CYG_UIT_FUNC_EXTERN_END | |
| 2 | 195 #define CYG_UIT_FUNC_INLINE |
| 0 | 196 |
| 197 #endif // !__cplusplus | |
| 198 | |
| 199 // ======================================================================== | |
| 200 // u I T R O N F U N C T I O N S | |
| 201 // The function declarations themselves: | |
| 202 | |
| 203 CYG_UIT_FUNC_EXTERN_BEGIN | |
| 204 | |
| 205 // this routine is outside the uITRON specification; call it from main() to | |
| 206 // start the uITRON tasks and scheduler. It does not return. | |
| 207 | |
| 208 #ifdef CYGNUM_UITRON_START_TASKS | |
| 209 void cyg_uitron_start( void ); | |
| 210 #endif | |
| 211 | |
| 212 // ****************************************************** | |
| 213 // *** 6.5 C Language Interfaces *** | |
| 214 // ****************************************************** | |
| 215 | |
| 216 // - Task Management Functions | |
| 217 | |
| 2 | 218 ER cre_tsk ( ID tskid, T_CTSK *pk_ctsk ); |
| 219 ER del_tsk ( ID tskid ); | |
| 220 ER sta_tsk ( ID tskid, INT stacd ); | |
| 221 void ext_tsk ( void ); | |
| 222 void exd_tsk ( void ); | |
| 223 ER ter_tsk ( ID tskid ); | |
| 0 | 224 |
| 2 | 225 ER dis_dsp ( void ); |
| 226 ER ena_dsp ( void ); | |
| 227 ER chg_pri ( ID tskid, PRI tskpri ); | |
| 228 ER rot_rdq ( PRI tskpri ); | |
| 229 ER rel_wai ( ID tskid ); | |
| 230 ER get_tid ( ID *p_tskid ); | |
| 231 ER ref_tsk ( T_RTSK *pk_rtsk, ID tskid ); | |
| 0 | 232 |
| 233 // - Task-Dependent Synchronization Functions | |
| 234 | |
| 2 | 235 ER sus_tsk ( ID tskid ); |
| 236 ER rsm_tsk ( ID tskid ); | |
| 237 ER frsm_tsk ( ID tskid ); | |
| 238 ER slp_tsk ( void ); | |
| 239 ER tslp_tsk ( TMO tmout ); | |
| 240 ER wup_tsk ( ID tskid ); | |
| 241 ER can_wup ( INT *p_wupcnt, ID tskid ); | |
| 0 | 242 |
| 243 // - Synchronization and Communication Functions | |
| 244 | |
| 2 | 245 ER cre_sem ( ID semid, T_CSEM *pk_csem ); |
| 246 ER del_sem ( ID semid ); | |
| 247 ER sig_sem ( ID semid ); | |
| 248 ER wai_sem ( ID semid ); | |
| 249 ER preq_sem ( ID semid ); | |
| 250 ER twai_sem ( ID semid, TMO tmout ); | |
| 251 ER ref_sem ( T_RSEM *pk_rsem, ID semid ); | |
| 0 | 252 |
| 2 | 253 ER cre_flg ( ID flgid, T_CFLG *pk_cflg ); |
| 254 ER del_flg ( ID flgid ); | |
| 255 ER set_flg ( ID flgid, UINT setptn ); | |
| 256 ER clr_flg ( ID flgid, UINT clrptn ); | |
| 257 ER wai_flg ( UINT *p_flgptn, ID flgid, UINT waiptn, UINT wfmode ); | |
| 258 ER pol_flg ( UINT *p_flgptn, ID flgid, UINT waiptn, UINT wfmode ); | |
| 259 ER twai_flg ( UINT *p_flgptn, ID flgid, UINT waiptn, UINT wfmode, | |
| 0 | 260 TMO tmout ); |
| 2 | 261 ER ref_flg ( T_RFLG *pk_rflg, ID flgid ); |
| 0 | 262 |
| 2 | 263 ER cre_mbx ( ID mbxid, T_CMBX* pk_cmbx ); |
| 264 ER del_mbx ( ID mbxid ); | |
| 265 ER snd_msg ( ID mbxid, T_MSG *pk_msg ); | |
| 266 ER rcv_msg ( T_MSG **ppk_msg, ID mbxid ); | |
| 267 ER prcv_msg ( T_MSG **ppk_msg, ID mbxid ); | |
| 268 ER trcv_msg ( T_MSG **ppk_msg, ID mbxid, TMO tmout ); | |
| 269 ER ref_mbx ( T_RMBX *pk_rmbx, ID mbxid ); | |
| 0 | 270 |
| 271 // - Extended Synchronization and Communication Functions | |
| 272 | |
| 273 #if 0 // NOT SUPPORTED | |
| 2 | 274 ER cre_mbf ( ID mbfid, T_CMBF *pk_cmbf ); |
| 275 ER del_mbf ( ID mbfid ); | |
| 276 ER snd_mbf ( ID mbfid, VP msg, INT msgsz ); | |
| 277 ER psnd_mbf ( ID mbfid, VP msg, INT msgsz ); | |
| 278 ER tsnd_mbf ( ID mbfid, VP msg, INT msgsz, TMO tmout ); | |
| 279 ER rcv_mbf ( VP msg, INT *p_msgsz, ID mbfid ); | |
| 280 ER prcv_mbf ( VP msg, INT *p_msgsz, ID mbfid ); | |
| 281 ER trcv_mbf ( VP msg, INT *p_msgsz, ID mbfid, TMO tmout ); | |
| 282 ER ref_mbf ( T_RMBF *pk_rmbf, ID mbfid ); | |
| 283 ER cre_por ( ID porid, T_CPOR *pk_cpor ); | |
| 284 ER del_por ( ID porid ); | |
| 285 ER cal_por ( VP msg, INT *p_rmsgsz, ID porid, UINT calptn, INT | |
| 0 | 286 cmsgsz ); |
| 2 | 287 ER pcal_por ( VP msg, INT *p_rmsgsz, ID porid, UINT calptn, INT |
| 0 | 288 cmsgsz ); |
| 2 | 289 ER tcal_por ( VP msg, INT *p_rmsgsz, ID porid, UINT calptn, INT |
| 0 | 290 cmsgsz, TMO tmout ); |
| 2 | 291 ER acp_por ( RNO *p_rdvno, VP msg, INT *p_cmsgsz, ID porid, UINT |
| 0 | 292 acpptn ); |
| 2 | 293 ER pacp_por ( RNO *p_rdvno, VP msg, INT *p_cmsgsz, ID porid, UINT |
| 0 | 294 acpptn ); |
| 2 | 295 ER tacp_por ( RNO *p_rdvno, VP msg, INT *p_cmsgsz, ID porid, UINT |
| 0 | 296 acpptn, TMO tmout ); |
| 2 | 297 ER fwd_por ( ID porid, UINT calptn, RNO rdvno, VP msg, INT cmsgsz |
| 0 | 298 ); |
| 2 | 299 ER rpl_rdv ( RNO rdvno, VP msg, INT rmsgsz ); |
| 300 ER ref_por ( T_RPOR *pk_rpor, ID porid ); | |
| 0 | 301 #endif |
| 302 | |
| 303 // - Interrupt Management Functions | |
| 304 | |
| 305 #if 0 // NOT SUPPORTED | |
| 2 | 306 ER def_int ( UINT dintno, T_DINT *pk_dint ); |
| 307 void ret_wup ( ID tskid ); | |
| 0 | 308 #endif |
| 309 #if 0 | |
| 2 | 310 void ret_int ( void ); |
| 0 | 311 #endif |
| 312 #define ret_int() return | |
| 2 | 313 ER loc_cpu ( void ); |
| 314 ER unl_cpu ( void ); | |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
66
diff
changeset
|
315 |
| 2 | 316 ER dis_int ( UINT eintno ); |
| 317 ER ena_int ( UINT eintno ); | |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
66
diff
changeset
|
318 |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
66
diff
changeset
|
319 #if 0 // NOT SUPPORTED |
| 2 | 320 ER chg_iXX ( UINT iXXXX ); |
| 321 ER ref_iXX ( UINT *p_iXXXX ); | |
| 0 | 322 #endif |
| 323 | |
| 324 // - Memorypool Management Functions | |
| 325 | |
| 2 | 326 ER cre_mpl ( ID mplid, T_CMPL *pk_cmpl ); |
| 327 ER del_mpl ( ID mplid ); | |
| 328 ER get_blk ( VP *p_blk, ID mplid, INT blksz ); | |
| 329 ER pget_blk ( VP *p_blk, ID mplid, INT blksz ); | |
| 330 ER tget_blk ( VP *p_blk, ID mplid, INT blksz, TMO tmout ); | |
| 331 ER rel_blk ( ID mplid, VP blk ); | |
| 332 ER ref_mpl ( T_RMPL *pk_rmpl, ID mplid ); | |
| 0 | 333 |
| 2 | 334 ER cre_mpf ( ID mpfid, T_CMPF *pk_cmpf ); |
| 335 ER del_mpf ( ID mpfid ); | |
| 336 ER get_blf ( VP *p_blf, ID mpfid ); | |
| 337 ER pget_blf ( VP *p_blf, ID mpfid ); | |
| 338 ER tget_blf ( VP *p_blf, ID mpfid, TMO tmout ); | |
| 339 ER rel_blf ( ID mpfid, VP blf ); | |
| 340 ER ref_mpf ( T_RMPF *pk_rmpf, ID mpfid ); | |
| 0 | 341 |
| 342 // - Time Management Functions | |
| 343 | |
| 2 | 344 ER set_tim ( SYSTIME *pk_tim ); |
| 345 ER get_tim ( SYSTIME *pk_tim ); | |
| 346 ER dly_tsk ( DLYTIME dlytim ); | |
| 347 ER def_cyc ( HNO cycno, T_DCYC *pk_dcyc ); | |
| 348 ER act_cyc ( HNO cycno, UINT cycact ); | |
| 349 ER ref_cyc ( T_RCYC *pk_rcyc, HNO cycno ); | |
| 350 ER def_alm ( HNO almno, T_DALM *pk_dalm ); | |
| 351 ER ref_alm ( T_RALM *pk_ralm, HNO almno ); | |
| 0 | 352 #if 0 |
| 2 | 353 void ret_tmr ( void ); |
| 0 | 354 #endif |
| 355 #define ret_tmr() return | |
| 356 | |
| 357 // - System Management Functions | |
| 358 | |
| 2 | 359 ER get_ver ( T_VER *pk_ver ); |
| 360 ER ref_sys ( T_RSYS *pk_rsys ); | |
| 361 ER ref_cfg ( T_RCFG *pk_rcfg ); | |
| 0 | 362 #if 0 // NOT SUPPORTED |
| 2 | 363 ER def_svc ( FN s_fncd, T_DSVC *pk_dsvc ); |
| 364 ER def_exc ( UINT exckind, T_DEXC *pk_dexc ); | |
| 0 | 365 #endif |
| 366 | |
| 367 // - Network Support Functions | |
| 368 | |
| 369 #if 0 // NOT SUPPORTED | |
| 2 | 370 ER nrea_dat ( INT *p_reasz, VP dstadr, NODE srcnode, VP srcadr, |
| 0 | 371 INT datsz ); |
| 2 | 372 ER nwri_dat ( INT *p_wrisz, NODE dstnode, VP dstadr, VP srcadr, |
| 0 | 373 INT datsz ); |
| 2 | 374 ER nget_nod ( NODE *p_node ); |
| 375 ER nget_ver ( T_VER *pk_ver, NODE node ); | |
| 0 | 376 #endif |
| 377 | |
| 378 CYG_UIT_FUNC_EXTERN_END | |
| 379 | |
| 380 // ======================================================================== | |
| 381 | |
| 382 #ifdef CYGPRI_UITRON_FUNCS_HERE_AND_NOW | |
| 383 // functions are inline OR we are in the outline implementation, so define | |
| 384 // the functions as inlines or plain functions depending on the value of | |
| 385 // CYG_UIT_FUNC_INLINE from above. | |
| 386 #include <cyg/compat/uitron/uit_func.inl> | |
| 387 #endif // CYGPRI_UITRON_FUNCS_HERE_AND_NOW | |
| 388 | |
| 389 // ------------------------------------------------------------------------ | |
| 390 #endif // CYGPKG_UITRON | |
| 391 | |
| 392 #endif // CYGONCE_COMPAT_UITRON_UIT_FUNC_H | |
| 393 // EOF uit_func.h |
