Refactor storage/blockdevice directory

pull/13273/head
Rajkumar Kanagaraj 2020-07-10 15:28:27 +01:00
parent 640da338f9
commit 036831e172
21 changed files with 11 additions and 18 deletions

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "BufferedBlockDevice.h" #include "blockdevice/BufferedBlockDevice.h"
#include "platform/mbed_assert.h" #include "platform/mbed_assert.h"
#include "platform/mbed_atomic.h" #include "platform/mbed_atomic.h"
#include <algorithm> #include <algorithm>

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "ChainingBlockDevice.h" #include "blockdevice/ChainingBlockDevice.h"
#include "platform/mbed_atomic.h" #include "platform/mbed_atomic.h"
#include "platform/mbed_assert.h" #include "platform/mbed_assert.h"

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "ExhaustibleBlockDevice.h" #include "blockdevice/ExhaustibleBlockDevice.h"
#include "platform/mbed_atomic.h" #include "platform/mbed_atomic.h"
#include "platform/mbed_assert.h" #include "platform/mbed_assert.h"
@ -209,4 +209,3 @@ const char *ExhaustibleBlockDevice::get_type() const
} }
} // namespace mbed } // namespace mbed

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "FlashSimBlockDevice.h" #include "blockdevice/FlashSimBlockDevice.h"
#include "platform/mbed_assert.h" #include "platform/mbed_assert.h"
#include "platform/mbed_atomic.h" #include "platform/mbed_atomic.h"
#include <algorithm> #include <algorithm>
@ -230,4 +230,3 @@ const char *FlashSimBlockDevice::get_type() const
} }
} // namespace mbed } // namespace mbed

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "HeapBlockDevice.h" #include "blockdevice/HeapBlockDevice.h"
#include "platform/mbed_atomic.h" #include "platform/mbed_atomic.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "MBRBlockDevice.h" #include "blockdevice/MBRBlockDevice.h"
#include "platform/mbed_atomic.h" #include "platform/mbed_atomic.h"
#include "platform/mbed_toolchain.h" #include "platform/mbed_toolchain.h"
#include "platform/mbed_assert.h" #include "platform/mbed_assert.h"
@ -453,4 +453,3 @@ const char *MBRBlockDevice::get_type() const
} }
} // namespace mbed } // namespace mbed

View File

@ -20,8 +20,8 @@
* SOFTWARE. * SOFTWARE.
*/ */
#include "ObservingBlockDevice.h" #include "blockdevice/ObservingBlockDevice.h"
#include "ReadOnlyBlockDevice.h" #include "blockdevice/ReadOnlyBlockDevice.h"
namespace mbed { namespace mbed {
@ -121,4 +121,3 @@ const char *ObservingBlockDevice::get_type() const
} }
} // namespace mbed } // namespace mbed

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "ProfilingBlockDevice.h" #include "blockdevice/ProfilingBlockDevice.h"
#include "stddef.h" #include "stddef.h"
namespace mbed { namespace mbed {
@ -131,4 +131,3 @@ const char *ProfilingBlockDevice::get_type() const
} }
} // namespace mbed } // namespace mbed

View File

@ -23,7 +23,7 @@
/** \addtogroup storage */ /** \addtogroup storage */
/** @{*/ /** @{*/
#include "ReadOnlyBlockDevice.h" #include "blockdevice/ReadOnlyBlockDevice.h"
#include "platform/mbed_error.h" #include "platform/mbed_error.h"
namespace mbed { namespace mbed {
@ -111,5 +111,3 @@ const char *ReadOnlyBlockDevice::get_type() const
} // namespace mbed } // namespace mbed
/** @}*/ /** @}*/

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "SlicingBlockDevice.h" #include "blockdevice/SlicingBlockDevice.h"
#include "platform/mbed_assert.h" #include "platform/mbed_assert.h"
#include "stddef.h" #include "stddef.h"
#include <stdio.h> #include <stdio.h>