Move ramdisk.h to include/nutt/fs/ramdisk.h
This commit is contained in:
parent
f821e74ebb
commit
62bf4d158d
@ -6191,4 +6191,6 @@
|
||||
(2013-12-10).
|
||||
* include/nuttx/fs/smart.h: Move smart.h to include/fs/smart.h
|
||||
(2013-12-10).
|
||||
* include/nuttx/fs/ramdisk.h: Move ramdisk.h to include/fs/ramdisk.h
|
||||
(2013012-10).
|
||||
|
||||
|
@ -44,7 +44,7 @@
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/ramdisk.h>
|
||||
#include <nuttx/fs/ramdisk.h>
|
||||
|
||||
#include "up_internal.h"
|
||||
|
||||
|
@ -49,7 +49,7 @@
|
||||
#include <nuttx/kmalloc.h>
|
||||
#include <nuttx/fs/fs.h>
|
||||
#include <nuttx/fs/mkfatfs.h>
|
||||
#include <nuttx/ramdisk.h>
|
||||
#include <nuttx/fs/ramdisk.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-Processor Definitions
|
||||
|
@ -49,7 +49,7 @@
|
||||
#include <nuttx/kmalloc.h>
|
||||
#include <nuttx/fs/fs.h>
|
||||
#include <nuttx/fs/mkfatfs.h>
|
||||
#include <nuttx/ramdisk.h>
|
||||
#include <nuttx/fs/ramdisk.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-Processor Definitions
|
||||
|
@ -41,7 +41,7 @@ config RAMDISK
|
||||
---help---
|
||||
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
|
||||
include/nuttx/ramdisk.h.
|
||||
include/nuttx/fs/ramdisk.h.
|
||||
|
||||
menuconfig CAN
|
||||
bool "CAN Driver Support"
|
||||
|
@ -34,7 +34,7 @@ pwm.c
|
||||
ramdisk.c
|
||||
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
|
||||
include/nuttx/ramdisk.h.
|
||||
include/nuttx/fs/ramdisk.h.
|
||||
|
||||
ramlog.c
|
||||
This is a driver that was intended to support debugging output,
|
||||
|
@ -51,7 +51,7 @@
|
||||
|
||||
#include <nuttx/kmalloc.h>
|
||||
#include <nuttx/fs/fs.h>
|
||||
#include <nuttx/ramdisk.h>
|
||||
#include <nuttx/fs/ramdisk.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Private Definitions
|
||||
|
@ -1,7 +1,7 @@
|
||||
/****************************************************************************
|
||||
* include/nuttx/ramdisk.h
|
||||
* include/nuttx/fs/ramdisk.h
|
||||
*
|
||||
* Copyright (C) 2008-2009, 2012 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2008-2009, 2012-2013 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __INCLUDE_NUTTX_RAMDISK_H
|
||||
#define __INCLUDE_NUTTX_RAMDISK_H
|
||||
#ifndef __INCLUDE_NUTTX_FS_RAMDISK_H
|
||||
#define __INCLUDE_NUTTX_FS_RAMDISK_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@ -96,4 +96,4 @@ EXTERN int romdisk_register(int minor, FAR uint8_t *buffer, uint32_t nsectors,
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_RAMDISK_H */
|
||||
#endif /* __INCLUDE_NUTTX_FS_RAMDISK_H */
|
@ -86,7 +86,7 @@ struct smart_read_write_s
|
||||
uint16_t logsector; /* The logical sector number */
|
||||
uint16_t offset; /* Offset within the sector to write to */
|
||||
uint16_t count; /* Number of bytes to write */
|
||||
const uint8_t *buffer; /* Pointer to the data to write */
|
||||
const uint8_t *buffer; /* Pointer to the data to write */
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user