ramdisk.h moved from include/fs/nuttx/ to include/nuttx/drivers.

This commit is contained in:
Gregory Nutt 2016-07-20 14:02:18 -06:00
parent 46dbbe837e
commit ee9c66186c
15 changed files with 21 additions and 21 deletions

View File

@ -44,7 +44,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <nuttx/fs/ramdisk.h> #include <nuttx/drivers/ramdisk.h>
#include "up_internal.h" #include "up_internal.h"

View File

@ -49,7 +49,7 @@
#include <nuttx/kmalloc.h> #include <nuttx/kmalloc.h>
#include <nuttx/poff.h> #include <nuttx/poff.h>
#include <nuttx/fs/ramdisk.h> #include <nuttx/drivers/ramdisk.h>
#include <nuttx/binfmt/binfmt.h> #include <nuttx/binfmt/binfmt.h>
#include <nuttx/binfmt/pcode.h> #include <nuttx/binfmt/pcode.h>

View File

@ -50,7 +50,7 @@
#include <nuttx/kmalloc.h> #include <nuttx/kmalloc.h>
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#include <nuttx/fs/mkfatfs.h> #include <nuttx/fs/mkfatfs.h>
#include <nuttx/fs/ramdisk.h> #include <nuttx/drivers/ramdisk.h>
/**************************************************************************** /****************************************************************************
* Pre-processor Definitions * Pre-processor Definitions

View File

@ -50,7 +50,7 @@
#include <nuttx/kmalloc.h> #include <nuttx/kmalloc.h>
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#include <nuttx/fs/mkfatfs.h> #include <nuttx/fs/mkfatfs.h>
#include <nuttx/fs/ramdisk.h> #include <nuttx/drivers/ramdisk.h>
/**************************************************************************** /****************************************************************************
* Pre-processor Definitions * Pre-processor Definitions

View File

@ -50,7 +50,7 @@
# include <nuttx/usb/usbmonitor.h> # include <nuttx/usb/usbmonitor.h>
#endif #endif
#include <nuttx/fs/ramdisk.h> #include <nuttx/drivers/ramdisk.h>
#include <nuttx/binfmt/elf.h> #include <nuttx/binfmt/elf.h>
#include <nuttx/i2c/i2c_master.h> #include <nuttx/i2c/i2c_master.h>

View File

@ -51,7 +51,7 @@
#endif #endif
#include <nuttx/drivers/drivers.h> #include <nuttx/drivers/drivers.h>
#include <nuttx/fs/ramdisk.h> #include <nuttx/drivers/ramdisk.h>
#include <nuttx/fs/nxffs.h> #include <nuttx/fs/nxffs.h>
#include <nuttx/binfmt/elf.h> #include <nuttx/binfmt/elf.h>
#include <nuttx/i2c/i2c_master.h> #include <nuttx/i2c/i2c_master.h>

View File

@ -51,7 +51,7 @@
#endif #endif
#include <nuttx/drivers/drivers.h> #include <nuttx/drivers/drivers.h>
#include <nuttx/fs/ramdisk.h> #include <nuttx/drivers/ramdisk.h>
#include <nuttx/fs/nxffs.h> #include <nuttx/fs/nxffs.h>
#include <nuttx/binfmt/elf.h> #include <nuttx/binfmt/elf.h>
#include <nuttx/i2c/i2c_master.h> #include <nuttx/i2c/i2c_master.h>

View File

@ -90,7 +90,7 @@ int sim_bringup(void);
* *
* - First, a ROM disk device must be created. This is done by calling * - First, a ROM disk device must be created. This is done by calling
* the function romdisk_register() as described in * the function romdisk_register() as described in
* nuttx/include/nuttx/fs/ramdisk.h. This is an OS level operation * nuttx/include/nuttx/drivers/ramdisk.h. This is an OS level operation
* and must be done in the board-level logic before your appliction * and must be done in the board-level logic before your appliction
* starts. * starts.
* *

View File

@ -44,7 +44,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <errno.h> #include <errno.h>
#include <nuttx/fs/ramdisk.h> #include <nuttx/drivers/ramdisk.h>
#include <nuttx/zoneinfo.h> #include <nuttx/zoneinfo.h>
#ifdef CONFIG_LIB_ZONEINFO_ROMFS #ifdef CONFIG_LIB_ZONEINFO_ROMFS
@ -97,7 +97,7 @@
* *
* - First, a ROM disk device must be created. This is done by calling * - First, a ROM disk device must be created. This is done by calling
* the function romdisk_register() as described in * the function romdisk_register() as described in
* nuttx/include/nuttx/fs/ramdisk.h. This is an OS level operation * nuttx/include/nuttx/drivers/ramdisk.h. This is an OS level operation
* and must be done in the board-level logic before your appliction * and must be done in the board-level logic before your appliction
* starts. * starts.
* *

View File

@ -59,7 +59,7 @@
#include <arch/board/boardctl.h> #include <arch/board/boardctl.h>
#include <nuttx/drivers/drivers.h> #include <nuttx/drivers/drivers.h>
#include <nuttx/fs/ramdisk.h> #include <nuttx/drivers/ramdisk.h>
#include <nuttx/fs/nxffs.h> #include <nuttx/fs/nxffs.h>
#include <nuttx/fs/mkfatfs.h> #include <nuttx/fs/mkfatfs.h>
#include <nuttx/binfmt/elf.h> #include <nuttx/binfmt/elf.h>

View File

@ -141,7 +141,7 @@ config RAMDISK
---help--- ---help---
Can be used to set up a block of memory or (read-only) FLASH as Can be used to set up a block of memory or (read-only) FLASH as
a block driver that can be mounted as a files system. See a block driver that can be mounted as a files system. See
include/nuttx/fs/ramdisk.h. include/nuttx/drivers/ramdisk.h.
menuconfig CAN menuconfig CAN
bool "CAN Driver Support" bool "CAN Driver Support"

View File

@ -30,7 +30,7 @@ pwm.c
ramdisk.c ramdisk.c
Can be used to set up a block of memory or (read-only) FLASH as Can be used to set up a block of memory or (read-only) FLASH as
a block driver that can be mounted as a files system. See a block driver that can be mounted as a files system. See
include/nuttx/fs/ramdisk.h. include/nuttx/drivers/ramdisk.h.
rwbuffer.c rwbuffer.c
A facility that can be use by any block driver in-order to add A facility that can be use by any block driver in-order to add

View File

@ -51,7 +51,7 @@
#include <nuttx/kmalloc.h> #include <nuttx/kmalloc.h>
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#include <nuttx/fs/ramdisk.h> #include <nuttx/drivers/ramdisk.h>
/**************************************************************************** /****************************************************************************
* Pre-processor Definitions * Pre-processor Definitions

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* include/nuttx/fs/ramdisk.h * include/nuttx/drivers/ramdisk.h
* *
* Copyright (C) 2008-2009, 2012-2013, 2015 Gregory Nutt. All rights reserved. * Copyright (C) 2008-2009, 2012-2013, 2015-2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -33,8 +33,8 @@
* *
****************************************************************************/ ****************************************************************************/
#ifndef __INCLUDE_NUTTX_FS_RAMDISK_H #ifndef __INCLUDE_NUTTX_DRIVERS_RAMDISK_H
#define __INCLUDE_NUTTX_FS_RAMDISK_H #define __INCLUDE_NUTTX_DRIVERS_RAMDISK_H
/**************************************************************************** /****************************************************************************
* Included Files * Included Files
@ -105,4 +105,4 @@ int romdisk_register(int minor, FAR const uint8_t *buffer, uint32_t nsectors,
} }
#endif #endif
#endif /* __INCLUDE_NUTTX_FS_RAMDISK_H */ #endif /* __INCLUDE_NUTTX_DRIVERS_RAMDISK_H */

View File

@ -23,7 +23,7 @@ doing this:
- First, a ROM disk device must be created. This is done by calling - First, a ROM disk device must be created. This is done by calling
the function romdisk_register() as described in the function romdisk_register() as described in
nuttx/include/nuttx/fs/ramdisk.h. This is an OS level operation nuttx/include/nuttx/drivers/ramdisk.h. This is an OS level operation
and must be done in the board-level logic before your application and must be done in the board-level logic before your application
starts. starts.
@ -114,7 +114,7 @@ Sample Code to Mount the ROMFS Filesystem
#include <stdlib.h> #include <stdlib.h>
#include <errno.h> #include <errno.h>
#include <nuttx/fs/ramdisk.h> #include <nuttx/drivers/ramdisk.h>
#include <nuttx/zoneinfo.h> #include <nuttx/zoneinfo.h>
/**************************************************************************** /****************************************************************************