Changed some tabs to spaces. Signed-off-by: Timothy Manning <codedraughtsman@users.noreply.github.com>
Added support for 64 bit time to yaffs direct. These changes still need to be applied to the kernel and rtems.
Fix copyright Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Further extensions for VxWorks wrapper Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Some changes to get VxWorks wrapper working Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs direct: Add some missing reldev functions Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Some yaffsfs cleanups for WinCE Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs direct: Expose background garbage collection Expose background garbage collection and add a demo pthread implementation of background gc. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs-direct: Add reldir and reldev interfaces These interfaces allow far more flexibility in the way Yaffs Direct is hooked up to an RTOS VFS. The "normal" interface requires a fully, qualified path, which is a pain to achieve in some RTOSs. The new interfaces allow calls to be done with paths relative to a directory or to a device. This tends to make some RTOS integration cleaner. Example yaffs_open("/mountpoint-name/dir/file",...); now has two alternatives: yaffs_open_reldir(root_dir,"dir/file",...); or yaffs_open_reldev(dev, "dir/file",...); Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Add new functions to read directories with an fd. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffsfs: Add yaffs_format function Allows the formatting of a yaffs device Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs direct cleanups: C++ header wrapping and u32 type change Some of the clean-ups proposed by Stéphane Lesage. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Change loff_t to Y_LOFF_T in Yaffs Direct This allows easy porting to 32-bit loff_t. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Changes to support 32-bit loff_t Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Clean up checkin. Do not use This is a clean-up checkin that should have been on a branch. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Set up u-boot glue code and patching scripts. This should patch yaffs2 into a u-boot system. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Add files to hook up yaffs direct to u-boot Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs large file support: Saves and restores large files fine under yaffs direct. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
large file storage WIP. Can save and verify a large file under yaffs direct. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Add yaffs_utime and related code Some changes to white spaces came along for the ride... Signed-off-by: Charles Manning <cdhmanning@gmail.com>