source: rtems/cpukit/score/src/rbtreefindheader.c @ 9b4422a2

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.1 KB
Line 
1/*
2 *  Copyright (c) 2010 Gedare Bloom.
3 *
4 *  The license and distribution terms for this file may be
5 *  found in the file LICENSE in this distribution or at
6 *  http://www.rtems.com/license/LICENSE.
7 */
8
9#if HAVE_CONFIG_H
10#include "config.h"
11#endif
12
13#include <rtems/system.h>
14#include <rtems/score/address.h>
15#include <rtems/score/rbtree.h>
16#include <rtems/score/isr.h>
17
18/*
19 *  _RBTree_Find_header
20 *
21 *  This kernel routine returns a pointer to the rbtree header of the tree
22 *  containing the given node.
23 *
24 *  Input parameters:
25 *    the_node - pointer to rbtree node
26 *
27 *  Output parameters:
28 *    return_header - pointer to control header of rbtree
29 *    NULL   - if there is no control header available (the node is not part
30 *    of a tree)
31 *
32 *  INTERRUPT LATENCY:
33 *    only case
34 */
35
36RBTree_Control *_RBTree_Find_header(
37  RBTree_Node *the_node
38)
39{
40  ISR_Level          level;
41  RBTree_Control *return_header;
42
43  return_header = NULL;
44  _ISR_Disable( level );
45      return_header = _RBTree_Find_header_unprotected( the_node );
46  _ISR_Enable( level );
47  return return_header;
48}
Note: See TracBrowser for help on using the repository browser.