From 2fe4ad52f87fb6f435e6b873d39c2c409b14db7a Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 21 Mar 2012 18:01:07 +0000 Subject: [PATCH] Move file-system header files to include/nuttx/fs git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4499 42af7a65-404d-4744-a932-0658087f49c3 --- ChangeLog | 2 ++ Documentation/NuttShell.html | 2 +- Documentation/NuttxPortingGuide.html | 12 ++++++------ Documentation/NuttxUserGuide.html | 2 +- arch/8051/src/up_initialize.c | 2 +- arch/arm/include/serial.h | 2 +- arch/arm/include/watchdog.h | 2 +- arch/arm/src/c5471/c5471_watchdog.c | 2 +- arch/arm/src/common/up_exit.c | 2 +- arch/arm/src/common/up_initialize.c | 2 +- arch/avr/src/common/up_exit.c | 2 +- arch/avr/src/common/up_initialize.c | 2 +- arch/hc/src/common/up_exit.c | 2 +- arch/hc/src/common/up_initialize.c | 2 +- arch/mips/src/common/up_exit.c | 2 +- arch/mips/src/common/up_initialize.c | 2 +- arch/rgmp/src/bridge.c | 2 +- arch/sh/include/serial.h | 2 +- arch/sh/src/common/up_exit.c | 2 +- arch/sh/src/common/up_initialize.c | 2 +- arch/sim/src/up_devconsole.c | 2 +- arch/sim/src/up_initialize.c | 2 +- arch/sim/src/up_touchscreen.c | 2 +- arch/x86/src/common/up_exit.c | 2 +- arch/x86/src/common/up_initialize.c | 2 +- arch/z16/src/common/up_exit.c | 2 +- arch/z16/src/common/up_initialize.c | 2 +- arch/z80/include/serial.h | 2 +- arch/z80/src/common/up_exit.c | 2 +- arch/z80/src/common/up_initialize.c | 2 +- configs/ea3131/src/up_fillpage.c | 2 +- configs/ea3131/src/up_usbmsc.c | 4 ++-- configs/ea3152/src/up_fillpage.c | 2 +- configs/ea3152/src/up_usbmsc.c | 4 ++-- configs/stm3210e-eval/RIDE/nuttx.rdb | Bin 116736 -> 116739 bytes configs/vsn/src/sif.c | 2 +- drivers/README.txt | 6 +++--- drivers/analog/adc.c | 2 +- drivers/analog/dac.c | 2 +- drivers/bch/bch_internal.h | 2 +- drivers/bch/bchdev_driver.c | 4 ++-- drivers/bch/bchdev_unregister.c | 4 ++-- drivers/bch/bchlib_cache.c | 2 +- drivers/bch/bchlib_read.c | 2 +- drivers/bch/bchlib_setup.c | 2 +- drivers/bch/bchlib_teardown.c | 2 +- drivers/bch/bchlib_write.c | 2 +- drivers/can.c | 2 +- drivers/dev_null.c | 2 +- drivers/dev_zero.c | 2 +- drivers/input/ads7843e.c | 2 +- drivers/input/tsc2007.c | 2 +- drivers/loop.c | 2 +- drivers/mmcsd/mmcsd_sdio.c | 4 ++-- drivers/mmcsd/mmcsd_spi.c | 2 +- drivers/mtd/at24xx.c | 2 +- drivers/mtd/at45db.c | 2 +- drivers/mtd/flash_eraseall.c | 4 ++-- drivers/mtd/ftl.c | 4 ++-- drivers/mtd/m25px.c | 2 +- drivers/mtd/rammtd.c | 2 +- drivers/mtd/ramtron.c | 2 +- drivers/mtd/skeleton.c | 2 +- drivers/pipes/fifo.c | 2 +- drivers/pipes/pipe.c | 2 +- drivers/pipes/pipe_common.c | 2 +- drivers/power/battery.c | 2 +- drivers/pwm.c | 2 +- drivers/ramdisk.c | 2 +- drivers/ramlog.c | 4 ++-- drivers/sensors/lm75.c | 2 +- drivers/sensors/qencoder.c | 2 +- drivers/serial/lowconsole.c | 2 +- drivers/serial/serial.c | 2 +- drivers/serial/uart_16550.c | 2 +- drivers/usbdev/usbmsc.c | 2 +- drivers/usbdev/usbmsc.h | 4 ++-- drivers/usbhost/usbhost_hidkbd.c | 2 +- drivers/usbhost/usbhost_skeleton.c | 2 +- drivers/usbhost/usbhost_storage.c | 2 +- fs/fat/fs_configfat.c | 6 +++--- fs/fat/fs_fat32.c | 6 +++--- fs/fat/fs_fat32.h | 2 +- fs/fat/fs_fat32attrib.c | 4 ++-- fs/fat/fs_fat32dirent.c | 4 ++-- fs/fat/fs_fat32util.c | 4 ++-- fs/fat/fs_mkfatfs.c | 6 +++--- fs/fat/fs_writefat.c | 6 +++--- fs/fs_close.c | 2 +- fs/fs_closeblockdriver.c | 2 +- fs/fs_closedir.c | 4 ++-- fs/fs_dup.c | 2 +- fs/fs_fcntl.c | 2 +- fs/fs_fdopen.c | 2 +- fs/fs_filedup.c | 2 +- fs/fs_files.c | 2 +- fs/fs_findblockdriver.c | 2 +- fs/fs_fsync.c | 2 +- fs/fs_inode.c | 2 +- fs/fs_inodeaddref.c | 2 +- fs/fs_inodefind.c | 2 +- fs/fs_inoderelease.c | 2 +- fs/fs_inoderemove.c | 2 +- fs/fs_inodereserve.c | 2 +- fs/fs_internal.h | 2 +- fs/fs_mkdir.c | 2 +- fs/fs_mount.c | 2 +- fs/fs_open.c | 2 +- fs/fs_openblockdriver.c | 2 +- fs/fs_opendir.c | 4 ++-- fs/fs_poll.c | 2 +- fs/fs_readdir.c | 4 ++-- fs/fs_registerblockdriver.c | 2 +- fs/fs_registerdriver.c | 2 +- fs/fs_rename.c | 2 +- fs/fs_rewinddir.c | 4 ++-- fs/fs_rmdir.c | 2 +- fs/fs_seekdir.c | 4 ++-- fs/fs_select.c | 2 +- fs/fs_umount.c | 2 +- fs/fs_unlink.c | 2 +- fs/fs_unregisterblockdriver.c | 2 +- fs/fs_unregisterdriver.c | 2 +- fs/nxffs/nxffs.h | 4 ++-- fs/nxffs/nxffs_dirent.c | 4 ++-- fs/nxffs/nxffs_dump.c | 2 +- fs/nxffs/nxffs_initialize.c | 4 ++-- fs/nxffs/nxffs_ioctl.c | 4 ++-- fs/nxffs/nxffs_open.c | 2 +- fs/nxffs/nxffs_read.c | 2 +- fs/nxffs/nxffs_stat.c | 2 +- fs/nxffs/nxffs_unlink.c | 2 +- fs/nxffs/nxffs_write.c | 2 +- fs/romfs/fs_romfs.c | 6 +++--- fs/romfs/fs_romfs.h | 2 +- fs/romfs/fs_romfsutil.c | 4 ++-- include/netinet/arp.h | 2 +- include/nuttx/analog/adc.h | 2 +- include/nuttx/analog/dac.h | 2 +- include/nuttx/can.h | 2 +- include/nuttx/{ => fs}/dirent.h | 14 +++++++------- include/nuttx/{ => fs}/fat.h | 12 ++++++------ include/nuttx/{ => fs}/fs.h | 12 ++++++------ include/nuttx/{ => fs}/ioctl.h | 8 ++++---- include/nuttx/{ => fs}/mkfatfs.h | 12 ++++++------ include/nuttx/{ => fs}/nxffs.h | 14 +++++++------- include/nuttx/input/touchscreen.h | 2 +- include/nuttx/lib.h | 2 +- include/nuttx/mtd.h | 2 +- include/nuttx/net/ioctl.h | 2 +- include/nuttx/power/battery.h | 2 +- include/nuttx/pwm.h | 2 +- include/nuttx/regex.h | 2 +- include/nuttx/sensors/lm75.h | 2 +- include/nuttx/sensors/qencoder.h | 2 +- include/nuttx/serial.h | 2 +- include/nuttx/tioctl.h | 2 +- include/nuttx/usb/cdcacm.h | 2 +- include/stdio.h | 2 +- include/sys/ioctl.h | 2 +- include/sys/sockio.h | 2 +- lib/dirent/lib_readdirr.c | 2 +- lib/dirent/lib_telldir.c | 4 ++-- lib/misc/lib_init.c | 2 +- lib/misc/lib_streamsem.c | 2 +- lib/stdio/lib_fflush.c | 2 +- lib/stdio/lib_fileno.c | 2 +- lib/stdio/lib_libfflush.c | 2 +- lib/stdio/lib_libflushall.c | 2 +- lib/stdio/lib_libnoflush.c | 2 +- lib/stdio/lib_ungetc.c | 2 +- sched/atexit.c | 2 +- sched/exit.c | 2 +- sched/on_exit.c | 2 +- sched/os_start.c | 2 +- sched/sched_releasefiles.c | 2 +- sched/sched_setupidlefiles.c | 2 +- sched/sched_setuppthreadfiles.c | 2 +- sched/sched_setupstreams.c | 2 +- sched/sched_setuptaskfiles.c | 2 +- sched/task_exithook.c | 2 +- syscall/syscall.csv | 2 +- 182 files changed, 252 insertions(+), 250 deletions(-) rename include/nuttx/{ => fs}/dirent.h (95%) rename include/nuttx/{ => fs}/fat.h (92%) rename include/nuttx/{ => fs}/fs.h (98%) rename include/nuttx/{ => fs}/ioctl.h (98%) rename include/nuttx/{ => fs}/mkfatfs.h (95%) rename include/nuttx/{ => fs}/nxffs.h (95%) diff --git a/ChangeLog b/ChangeLog index 229326e99db..b923409c320 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2579,3 +2579,5 @@ the USB device driver can used the the mass storage class (which does a LOT of stalling as part of its normal protocol). The PIC32 USB Mass Storage device is, however, still non-functional when debug is OFF. + * include/nuttx/fs: Move all file-system related files from include/nuttx to + include/nuttx/fs. diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html index 2d8b4722d7f..ea851026dff 100644 --- a/Documentation/NuttShell.html +++ b/Documentation/NuttShell.html @@ -1321,7 +1321,7 @@ mkfatfs <path> Format a fat file system on the block device specified by <path>. NSH provides this command to access the mkfatfs() NuttX API. This block device must reside in the NuttX pseudo filesystem and - must have been created by some call to register_blockdriver() (see include/nuttx/fs.h). + must have been created by some call to register_blockdriver() (see include/nuttx/fs/fs.h).

diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index e9202586205..8550d98fcce 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -2307,7 +2307,7 @@ extern void up_ledoff(int led);