Skip to content

Commit 3a1b074

Browse files
Ashok RaoAshok Rao
authored andcommitted
Moving around a few items within \rtos
1 parent d4f72df commit 3a1b074

File tree

30 files changed

+27
-27
lines changed

30 files changed

+27
-27
lines changed

rtos/ConditionVariable.h renamed to rtos/include/rtos/ConditionVariable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
#include <stdint.h>
2727
#include <utility>
28-
#include "rtos/mbed_rtos_types.h"
28+
#include "rtos/internal/mbed_rtos_types.h"
2929
#include "rtos/Mutex.h"
3030
#include "rtos/Semaphore.h"
3131
#include "rtos/Kernel.h"

rtos/EventFlags.h renamed to rtos/include/rtos/EventFlags.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
#include <cstddef>
2727
#include <stdint.h>
2828
#include "rtos/Kernel.h"
29-
#include "rtos/mbed_rtos_types.h"
30-
#include "rtos/mbed_rtos1_types.h"
31-
#include "rtos/mbed_rtos_storage.h"
29+
#include "rtos/internal/mbed_rtos_types.h"
30+
#include "rtos/internal/mbed_rtos1_types.h"
31+
#include "rtos/internal/mbed_rtos_storage.h"
3232

3333
#include "platform/NonCopyable.h"
3434

rtos/Kernel.h renamed to rtos/include/rtos/Kernel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
#include <stdint.h>
2727
#include <chrono>
28-
#include "rtos/mbed_rtos_types.h"
28+
#include "rtos/internal/mbed_rtos_types.h"
2929
#include "platform/mbed_toolchain.h"
3030
#if !MBED_CONF_RTOS_PRESENT
3131
#include "platform/source/mbed_os_timer.h"

rtos/Mail.h renamed to rtos/include/rtos/Mail.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828

2929
#include "rtos/Queue.h"
3030
#include "rtos/MemoryPool.h"
31-
#include "rtos/mbed_rtos_types.h"
32-
#include "rtos/mbed_rtos_storage.h"
33-
#include "rtos/mbed_rtos1_types.h"
31+
#include "rtos/internal/mbed_rtos_types.h"
32+
#include "rtos/internal/mbed_rtos_storage.h"
33+
#include "rtos/internal/mbed_rtos1_types.h"
3434

3535
#include "platform/mbed_toolchain.h"
3636
#include "platform/mbed_assert.h"

rtos/MemoryPool.h renamed to rtos/include/rtos/MemoryPool.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
#include <stdint.h>
2727
#include <string.h>
2828

29-
#include "rtos/mbed_rtos_types.h"
30-
#include "rtos/mbed_rtos1_types.h"
31-
#include "rtos/mbed_rtos_storage.h"
29+
#include "rtos/internal/mbed_rtos_types.h"
30+
#include "rtos/internal/mbed_rtos1_types.h"
31+
#include "rtos/internal/mbed_rtos_storage.h"
3232
#include "platform/NonCopyable.h"
3333
#include "platform/mbed_assert.h"
34-
#include "Kernel.h"
34+
#include "rtos/Kernel.h"
3535

3636

3737
#if MBED_CONF_RTOS_PRESENT || defined(DOXYGEN_ONLY)

rtos/Mutex.h renamed to rtos/include/rtos/Mutex.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
#define MUTEX_H
2525

2626
#include <stdint.h>
27-
#include "rtos/mbed_rtos_types.h"
28-
#include "rtos/mbed_rtos1_types.h"
29-
#include "rtos/mbed_rtos_storage.h"
27+
#include "rtos/internal/mbed_rtos_types.h"
28+
#include "rtos/internal/mbed_rtos1_types.h"
29+
#include "rtos/internal/mbed_rtos_storage.h"
3030
#include "rtos/Kernel.h"
3131

3232
#include "platform/NonCopyable.h"

rtos/Queue.h renamed to rtos/include/rtos/Queue.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
#ifndef QUEUE_H
2424
#define QUEUE_H
2525

26-
#include "rtos/mbed_rtos_types.h"
27-
#include "rtos/mbed_rtos1_types.h"
28-
#include "rtos/mbed_rtos_storage.h"
26+
#include "rtos/internal/mbed_rtos_types.h"
27+
#include "rtos/internal/mbed_rtos1_types.h"
28+
#include "rtos/internal/mbed_rtos_storage.h"
2929
#include "rtos/Kernel.h"
3030
#include "platform/mbed_error.h"
3131
#include "platform/NonCopyable.h"

rtos/Semaphore.h renamed to rtos/include/rtos/Semaphore.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525

2626
#include <stdint.h>
2727
#include <chrono>
28-
#include "rtos/mbed_rtos_types.h"
29-
#include "rtos/mbed_rtos1_types.h"
30-
#include "rtos/mbed_rtos_storage.h"
28+
#include "rtos/internal/mbed_rtos_types.h"
29+
#include "rtos/internal/mbed_rtos1_types.h"
30+
#include "rtos/internal/mbed_rtos_storage.h"
3131
#include "rtos/Kernel.h"
3232
#include "platform/mbed_toolchain.h"
3333
#include "platform/NonCopyable.h"

rtos/ThisThread.h renamed to rtos/include/rtos/ThisThread.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <stdint.h>
2727
#include "platform/mbed_toolchain.h"
2828
#include "rtos/Kernel.h"
29-
#include "rtos/mbed_rtos_types.h"
29+
#include "rtos/internal/mbed_rtos_types.h"
3030

3131
namespace rtos {
3232
/** \addtogroup rtos-public-api */

rtos/Thread.h renamed to rtos/include/rtos/Thread.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
#define THREAD_H
2525

2626
#include <stdint.h>
27-
#include "rtos/mbed_rtos_types.h"
28-
#include "rtos/mbed_rtos1_types.h"
29-
#include "rtos/mbed_rtos_storage.h"
27+
#include "rtos/internal/mbed_rtos_types.h"
28+
#include "rtos/internal/mbed_rtos1_types.h"
29+
#include "rtos/internal/mbed_rtos_storage.h"
3030
#include "platform/Callback.h"
3131
#include "platform/mbed_toolchain.h"
3232
#include "platform/NonCopyable.h"

0 commit comments

Comments
 (0)