summaryrefslogtreecommitdiffstats
path: root/c/src/libchip
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-01-16 13:05:13 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-01-21 13:22:52 +0100
commit5b34e7ada4c9645cbfaf855d9b9300fa3075bff5 (patch)
tree5e297e5a65510e3752de6cf3c3c3b9fe24287559 /c/src/libchip
parentIMFS: Allow sockets as generic nodes (diff)
downloadrtems-5b34e7ada4c9645cbfaf855d9b9300fa3075bff5.tar.bz2
IMFS: Improved support for generic nodes
The rtems_filesystem_location_info_t::node_access_2 was unused by the IMFS. Use it to hold the context of generic nodes. This makes it possible to use node handlers for objects with and without a corresponding file system node. For example network sockets created with socket() have only a file descriptor, but no corresponding file system node. The UNIX(4) domain sockets can be bound to file system nodes. In both cases the rtems_filesystem_location_info_t must provide a pointer to the socket structure used by the socket node handlers. With the context pointer (for sockets, this is the socket structure) in rtems_filesystem_location_info_t::node_access_2 the same node handlers can be used in both cases.
Diffstat (limited to 'c/src/libchip')
0 files changed, 0 insertions, 0 deletions