source: rtems/testsuites/fstests/fsimfsgeneric01/fsimfsgeneric01.doc @ c5392ef9

4.115
Last change on this file since c5392ef9 was c5392ef9, checked in by Sebastian Huber <sebastian.huber@…>, on 03/01/12 at 10:51:34

IMFS: Add make generic node support

Generic nodes are an alternative to standard drivers in RTEMS. The
handlers of a generic node are called with less overhead compared to the
standard driver operations. The usage of file system node handlers
enable more features like support for fsync() and fdatasync(). The
generic nodes use the reference counting of the IMFS. This provides
automatic node destruction when the last reference vanishes.

Extend type IMFS_types_union by new type IMFS_generic_t.

Extend enum IMFS_jnode_types_t by IMFS_GENERIC.

Add functions

o IMFS_make_generic_node(),
o IMFS_is_imfs_instance(),
o IMFS_generic_get_context_by_node(),
o IMFS_generic_get_context_by_location(), and
o IMFS_generic_get_context_by_iop().

New test fstests/fsimfsgeneric01.

  • Property mode set to 100644
File size: 167 bytes

HTML preview not available, since no preview renderer could handle it. Try downloading the file instead.

Note: See TracBrowser for help on using the repository browser.