4.104.114.84.95
Rev | Line | |
---|
[3235ad9] | 1 | /* support.inl |
---|
| 2 | * |
---|
| 3 | * This include file contains the macros implementation of all |
---|
| 4 | * of the inlined routines specific to the RTEMS API. |
---|
| 5 | * |
---|
[08311cc3] | 6 | * COPYRIGHT (c) 1989-1999. |
---|
[3235ad9] | 7 | * On-Line Applications Research Corporation (OAR). |
---|
| 8 | * |
---|
[98e4ebf5] | 9 | * The license and distribution terms for this file may be |
---|
| 10 | * found in the file LICENSE in this distribution or at |
---|
[03f2154e] | 11 | * http://www.OARcorp.com/rtems/license.html. |
---|
[3235ad9] | 12 | * |
---|
| 13 | * $Id$ |
---|
| 14 | */ |
---|
| 15 | |
---|
| 16 | #ifndef __RTEMS_SUPPORT_inl |
---|
| 17 | #define __RTEMS_SUPPORT_inl |
---|
| 18 | |
---|
| 19 | /*PAGE |
---|
| 20 | * |
---|
| 21 | * rtems_is_name_valid |
---|
| 22 | * |
---|
| 23 | */ |
---|
| 24 | |
---|
| 25 | #define rtems_is_name_valid( _name ) \ |
---|
| 26 | ( (_name) != 0 ) |
---|
| 27 | |
---|
| 28 | /*PAGE |
---|
| 29 | * |
---|
| 30 | * rtems_name_to_characters |
---|
| 31 | * |
---|
| 32 | */ |
---|
| 33 | |
---|
| 34 | #define rtems_name_to_characters( _name, _c1, _c2, _c3, _c4 ) \ |
---|
| 35 | { \ |
---|
| 36 | (*(_c1) = ((_name) >> 24) & 0xff; \ |
---|
| 37 | (*(_c2) = ((_name) >> 16) & 0xff; \ |
---|
| 38 | (*(_c3) = ((_name) >> 8) & 0xff; \ |
---|
| 39 | (*(_c4) = ((_name)) & 0xff; \ |
---|
| 40 | } |
---|
| 41 | |
---|
| 42 | #endif |
---|
| 43 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.