[PATCH 0/5] Replace devfs with an IMFS specialization

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Mar 6 06:47:55 UTC 2020


Sebastian Huber (5):
  imfs: Use _IMFS_get_time()
  imfs: Constify imfs_memfile_bytes_per_block
  imfs: Remove unused handlers
  imfs: Simplify code generation
  imfs: Replace devfs with an IMFS specialization

 bsps/i386/pc386/include/bsp.h            |   2 -
 bsps/riscv/griscv/include/bsp.h          |   3 -
 bsps/sparc/leon3/include/bsp.h           |   3 -
 cpukit/Makefile.am                       |  10 --
 cpukit/headers.am                        |   1 -
 cpukit/include/rtems/confdefs/bsp.h      |   1 -
 cpukit/include/rtems/confdefs/libio.h    | 104 +++++--------
 cpukit/include/rtems/confdefs/obsolete.h |   4 +
 cpukit/include/rtems/devfs.h             | 255 -------------------------------
 cpukit/include/rtems/imfs.h              |  10 +-
 cpukit/libfs/src/devfs/devclose.c        |  29 ----
 cpukit/libfs/src/devfs/devfs_eval.c      |  95 ------------
 cpukit/libfs/src/devfs/devfs_init.c      |  79 ----------
 cpukit/libfs/src/devfs/devfs_mknod.c     |  63 --------
 cpukit/libfs/src/devfs/devfs_show.c      |  51 -------
 cpukit/libfs/src/devfs/devioctl.c        |  31 ----
 cpukit/libfs/src/devfs/devopen.c         |  39 -----
 cpukit/libfs/src/devfs/devread.c         |  31 ----
 cpukit/libfs/src/devfs/devstat.c         |  36 -----
 cpukit/libfs/src/devfs/devwrite.c        |  31 ----
 cpukit/libfs/src/imfs/imfs_eval_devfs.c  | 163 ++++++++++++++++++++
 cpukit/libfs/src/imfs/imfs_initsupp.c    |  70 +++------
 cpukit/libfs/src/imfs/imfs_node.c        |  11 +-
 cpukit/libfs/src/imfs/imfs_stat_file.c   |   2 -
 testsuites/libtests/devfs01/init.c       |  49 +++---
 testsuites/libtests/devfs02/devfs02.doc  |  22 ---
 testsuites/libtests/devfs02/devfs02.scn  |  13 --
 testsuites/libtests/devfs02/init.c       | 108 -------------
 testsuites/libtests/devfs03/devfs03.doc  |  21 ---
 testsuites/libtests/devfs03/devfs03.scn  |   6 -
 testsuites/libtests/devfs03/init.c       |  99 ------------
 testsuites/libtests/devfs04/init.c       |  11 +-
 testsuites/libtests/deviceio01/init.c    |   7 +-
 33 files changed, 269 insertions(+), 1191 deletions(-)
 delete mode 100644 cpukit/include/rtems/devfs.h
 delete mode 100644 cpukit/libfs/src/devfs/devclose.c
 delete mode 100644 cpukit/libfs/src/devfs/devfs_eval.c
 delete mode 100644 cpukit/libfs/src/devfs/devfs_init.c
 delete mode 100644 cpukit/libfs/src/devfs/devfs_mknod.c
 delete mode 100644 cpukit/libfs/src/devfs/devfs_show.c
 delete mode 100644 cpukit/libfs/src/devfs/devioctl.c
 delete mode 100644 cpukit/libfs/src/devfs/devopen.c
 delete mode 100644 cpukit/libfs/src/devfs/devread.c
 delete mode 100644 cpukit/libfs/src/devfs/devstat.c
 delete mode 100644 cpukit/libfs/src/devfs/devwrite.c
 create mode 100644 cpukit/libfs/src/imfs/imfs_eval_devfs.c
 delete mode 100644 testsuites/libtests/devfs02/devfs02.doc
 delete mode 100644 testsuites/libtests/devfs02/devfs02.scn
 delete mode 100644 testsuites/libtests/devfs02/init.c
 delete mode 100644 testsuites/libtests/devfs03/devfs03.doc
 delete mode 100644 testsuites/libtests/devfs03/devfs03.scn
 delete mode 100644 testsuites/libtests/devfs03/init.c

-- 
2.16.4



More information about the devel mailing list