4.115
Last change
on this file since 9b4422a2 was
9b4422a2,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24
|
Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | /** |
---|
2 | * @file rtems/score/mppkt.inl |
---|
3 | * |
---|
4 | * This package is the implementation of the Packet Handler |
---|
5 | * routines which are inlined. |
---|
6 | */ |
---|
7 | |
---|
8 | /* |
---|
9 | * COPYRIGHT (c) 1989-2004. |
---|
10 | * On-Line Applications Research Corporation (OAR). |
---|
11 | * |
---|
12 | * The license and distribution terms for this file may be |
---|
13 | * found in the file LICENSE in this distribution or at |
---|
14 | * http://www.rtems.com/license/LICENSE. |
---|
15 | */ |
---|
16 | |
---|
17 | #ifndef _RTEMS_SCORE_MPPKT_H |
---|
18 | # error "Never use <rtems/score/mppkt.inl> directly; include <rtems/score/mppkt.h> instead." |
---|
19 | #endif |
---|
20 | |
---|
21 | #ifndef _RTEMS_SCORE_MPPKT_INL |
---|
22 | #define _RTEMS_SCORE_MPPKT_INL |
---|
23 | |
---|
24 | /** |
---|
25 | * @addtogroup ScoreMPPacket |
---|
26 | * @{ |
---|
27 | */ |
---|
28 | |
---|
29 | /** |
---|
30 | * This function returns true if the the_packet_class is valid, |
---|
31 | * and false otherwise. |
---|
32 | * |
---|
33 | * @note Check for lower bounds (MP_PACKET_CLASSES_FIRST ) is unnecessary |
---|
34 | * because this enum starts at lower bound of zero. |
---|
35 | */ |
---|
36 | |
---|
37 | RTEMS_INLINE_ROUTINE bool _Mp_packet_Is_valid_packet_class ( |
---|
38 | MP_packet_Classes the_packet_class |
---|
39 | ) |
---|
40 | { |
---|
41 | return ( the_packet_class <= MP_PACKET_CLASSES_LAST ); |
---|
42 | } |
---|
43 | |
---|
44 | /** |
---|
45 | * This function returns true if the the_packet_class is null, |
---|
46 | * and false otherwise. |
---|
47 | */ |
---|
48 | |
---|
49 | RTEMS_INLINE_ROUTINE bool _Mp_packet_Is_null ( |
---|
50 | MP_packet_Prefix *the_packet |
---|
51 | ) |
---|
52 | { |
---|
53 | return the_packet == NULL; |
---|
54 | } |
---|
55 | |
---|
56 | /**@}*/ |
---|
57 | |
---|
58 | #endif |
---|
59 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.