source: rtems/cpukit/libfs/src/dosfs/msdos_init.c @ e197621

4.104.114.84.9
Last change on this file since e197621 was e197621, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 29, 2006 at 7:38:08 PM

2006-08-29 Joel Sherrill <joel@…>

  • libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_eval.c, libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_free.c, libfs/src/dosfs/msdos_fsunmount.c, libfs/src/dosfs/msdos_init.c, libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c, libfs/src/imfs/imfs_debug.c: Remove warnings.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1/*
2 *  Init routine for MSDOS
3 *
4 *  Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
5 *  Author: Eugeny S. Mints <Eugeny.Mints@oktet.ru>
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 *
11 *  @(#) $Id$
12 */
13
14#if HAVE_CONFIG_H
15#include "config.h"
16#endif
17
18#include <rtems/libio_.h>
19#include "msdos.h"
20
21rtems_filesystem_operations_table  msdos_ops = {
22    msdos_eval_path,
23    msdos_eval4make,
24#if 0
25     NULL,                 /* msdos_link */
26#else
27    msdos_file_link,      /* msdos_link (pseudo-functionality) */
28#endif
29    msdos_file_rmnod,
30    msdos_node_type,
31    msdos_mknod,
32    NULL,                 /* msdos_chown */
33    msdos_free_node_info,
34    NULL,
35    msdos_initialize,
36    NULL,
37    msdos_shut_down,      /* msdos_shut_down */
38    NULL,                 /* msdos_utime */
39    NULL,
40    NULL,
41    NULL
42};
43
44/* msdos_initialize --
45 *     MSDOS filesystem initialization
46 *
47 * PARAMETERS:
48 *     temp_mt_entry - mount table entry
49 *
50 * RETURNS:
51 *     RC_OK on success, or -1 if error occured (errno set apropriately).
52 *
53 */
54int msdos_initialize(rtems_filesystem_mount_table_entry_t *temp_mt_entry)
55{
56    int rc;
57
58    rc = msdos_initialize_support(temp_mt_entry,
59                                  &msdos_ops,
60                                  &msdos_file_handlers,
61                                  &msdos_dir_handlers);
62    return rc;
63}
Note: See TracBrowser for help on using the repository browser.