source: rtems/cpukit/sapi/src/io.c

Last change on this file was 3db9c820, checked in by Sebastian Huber <sebastian.huber@…>, on Nov 28, 2020 at 10:16:28 AM

sapi: Canonicalize @defgroup and @file comments

Adjust group identifier and names to be in line with a common pattern.
Use common phrases for the group and file brief descriptions.

Update #3706.

  • Property mode set to 100644
File size: 798 bytes
Line 
1/**
2 * @file
3 *
4 * @ingroup RTEMSImplClassicIO
5 *
6 * @brief This source file contains the definition of
7 *   ::_IO_All_drivers_initialized and implementation of
8 *   _IO_Initialize_all_drivers().
9 */
10
11/*
12 *  COPYRIGHT (c) 1989-2008.
13 *  On-Line Applications Research Corporation (OAR).
14 *
15 *  The license and distribution terms for this file may be
16 *  found in the file LICENSE in this distribution or at
17 *  http://www.rtems.org/license/LICENSE.
18 */
19
20#ifdef HAVE_CONFIG_H
21#include "config.h"
22#endif
23
24#include <rtems/ioimpl.h>
25
26bool _IO_All_drivers_initialized;
27
28void _IO_Initialize_all_drivers( void )
29{
30   rtems_device_major_number major;
31
32   _IO_All_drivers_initialized = true;
33
34   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )
35     (void) rtems_io_initialize( major, 0, NULL );
36}
Note: See TracBrowser for help on using the repository browser.