Changeset 43f7a90 in rtems


Ignore:
Timestamp:
Nov 1, 1999, 8:58:23 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
dee8a51
Parents:
0910a251
Message:

Enabled configuring mini or full IMFS.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/sapi/include/confdefs.h

    r0910a251 r43f7a90  
    5050unsigned32 rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS;
    5151#endif
     52
     53/*
     54 *  Mount Table Configuration
     55 */
     56
     57#include <imfs.h>
     58
     59#ifdef CONFIGURE_INIT
     60
     61#ifndef CONFIGURE_HAS_OWN_MOUNT_TABLE
     62rtems_filesystem_mount_table_t configuration_mount_table = {
     63#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM /* XXX for now */
     64#ifdef CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
     65  &IMFS_ops,
     66#else  /* using miniIMFS as base filesystem */
     67  &miniIMFS_ops,
     68#endif
     69  RTEMS_FILESYSTEM_READ_WRITE,
     70  NULL,
     71  NULL
     72};
     73
     74rtems_filesystem_mount_table_t
     75    *rtems_filesystem_mount_table = &configuration_mount_table;
     76int rtems_filesystem_mount_table_size = 1;
     77#endif
     78
     79#endif
     80
    5281
    5382/*
  • cpukit/sapi/include/confdefs.h

    r0910a251 r43f7a90  
    5050unsigned32 rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS;
    5151#endif
     52
     53/*
     54 *  Mount Table Configuration
     55 */
     56
     57#include <imfs.h>
     58
     59#ifdef CONFIGURE_INIT
     60
     61#ifndef CONFIGURE_HAS_OWN_MOUNT_TABLE
     62rtems_filesystem_mount_table_t configuration_mount_table = {
     63#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM /* XXX for now */
     64#ifdef CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
     65  &IMFS_ops,
     66#else  /* using miniIMFS as base filesystem */
     67  &miniIMFS_ops,
     68#endif
     69  RTEMS_FILESYSTEM_READ_WRITE,
     70  NULL,
     71  NULL
     72};
     73
     74rtems_filesystem_mount_table_t
     75    *rtems_filesystem_mount_table = &configuration_mount_table;
     76int rtems_filesystem_mount_table_size = 1;
     77#endif
     78
     79#endif
     80
    5281
    5382/*
Note: See TracChangeset for help on using the changeset viewer.