[PATCH v4 0/5] Add nanosecond support patch
Ryan Long
ryan.long at oarcorp.com
Fri May 14 17:31:44 UTC 2021
Hi,
Here are the patches with the requested changes.
In this iteration, I:
- Used timespec macros and defined constants
- Updated more file copyrights
- Fixed some wording
- changed rtems_filesystem_utime_check_times() to
rtems_filesystem_utime_update()
Thanks,
Ryan
Ryan Long (5):
libcsupport: Added futimens() and utimensat()
libcsupport: Implement utime() in terms of utimensat()
libcsupport: Implement utimes() in terms of utimensat()
psx13: Added tests for utimensat() and futimens()
Change filesystem utime_h handler to utimens_h
bsps/arm/csb337/umon/tfsDriver.c | 2 +-
cpukit/Makefile.am | 6 +-
cpukit/include/rtems/confdefs/libio.h | 4 +-
cpukit/include/rtems/imfs.h | 35 +-
cpukit/include/rtems/libio.h | 55 +--
cpukit/include/rtems/libio_.h | 95 +++++-
cpukit/include/rtems/score/timespec.h | 44 ++-
cpukit/libcsupport/src/__usrenv.c | 39 ++-
cpukit/libcsupport/src/futimens.c | 87 +++++
cpukit/libcsupport/src/utime.c | 75 +++--
cpukit/libcsupport/src/utimensat.c | 225 +++++++++++++
cpukit/libcsupport/src/utimes.c | 62 +++-
cpukit/libfs/src/defaults/default_ops.c | 34 +-
cpukit/libfs/src/defaults/default_utime.c | 32 --
cpukit/libfs/src/defaults/default_utimens.c | 49 +++
cpukit/libfs/src/dosfs/msdos_init.c | 48 ++-
cpukit/libfs/src/ftpfs/ftpfs.c | 44 +--
cpukit/libfs/src/ftpfs/tftpDriver.c | 28 +-
cpukit/libfs/src/imfs/imfs_init.c | 30 +-
cpukit/libfs/src/imfs/imfs_utime.c | 41 ---
cpukit/libfs/src/imfs/imfs_utimens.c | 58 ++++
cpukit/libfs/src/jffs2/src/fs-rtems.c | 11 +-
cpukit/libfs/src/rfs/rtems-rfs-rtems.c | 16 +-
cpukit/score/src/timespecisnonnegative.c | 54 +++
spec/build/cpukit/librtemscpu.yml | 7 +-
testsuites/psxtests/psx13/main.c | 5 +-
testsuites/psxtests/psx13/test.c | 499 ++++++++++++++++++++++++++--
27 files changed, 1410 insertions(+), 275 deletions(-)
create mode 100644 cpukit/libcsupport/src/futimens.c
create mode 100644 cpukit/libcsupport/src/utimensat.c
delete mode 100644 cpukit/libfs/src/defaults/default_utime.c
create mode 100644 cpukit/libfs/src/defaults/default_utimens.c
delete mode 100644 cpukit/libfs/src/imfs/imfs_utime.c
create mode 100644 cpukit/libfs/src/imfs/imfs_utimens.c
create mode 100644 cpukit/score/src/timespecisnonnegative.c
--
1.8.3.1
More information about the devel
mailing list