forked from Imagelibrary/rtems
rtems: Create tasks implementation header
Move implementation specific parts of tasks.h and tasks.inl into new header file tasksimpl.h. The tasks.h contains now only the application visible API.
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
|
||||
#include "system.h"
|
||||
|
||||
#include <rtems/rtems/tasksimpl.h>
|
||||
|
||||
void Screen1()
|
||||
{
|
||||
uint32_t notepad_value;
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
|
||||
#include "system.h"
|
||||
|
||||
#include <rtems/rtems/tasksimpl.h>
|
||||
|
||||
/* prototypes */
|
||||
int scan_objects(
|
||||
Objects_Information *information,
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <rtems/score/apiext.h>
|
||||
#include <rtems/score/copyrt.h>
|
||||
#include <rtems/rtems/clock.h>
|
||||
#include <rtems/rtems/tasks.h>
|
||||
#include <rtems/rtems/tasksimpl.h>
|
||||
#include <rtems/rtems/dpmemimpl.h>
|
||||
#include <rtems/rtems/eventimpl.h>
|
||||
#include <rtems/extensionimpl.h>
|
||||
@@ -379,7 +379,7 @@ uninitialized =
|
||||
/*taskmp.h*/ 0 +
|
||||
#endif
|
||||
|
||||
/*tasks.h*/ (sizeof _RTEMS_tasks_Information) +
|
||||
/*tasksimpl.h*/ (sizeof _RTEMS_tasks_Information) +
|
||||
|
||||
/*thread.h*/ (sizeof _Thread_BSP_context) +
|
||||
(sizeof _Thread_Dispatch_disable_level) +
|
||||
|
||||
Reference in New Issue
Block a user