Move REQ_TYPE bits to private header file
The REQ_TYPE bits are only used internally. Change-Id: I80df7c8a6498ab5624f234df190ffe61267076fd Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com> Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
parent
93308cc71a
commit
f59c0244eb
|
@ -180,12 +180,6 @@ struct k_mrec {
|
|||
|
||||
/* target channels types: */
|
||||
|
||||
typedef uint32_t REQ_TYPE;
|
||||
#define _ALLREQ ((REQ_TYPE)0x0000FF00)
|
||||
#define _SYNCREQ ((REQ_TYPE)0x00000100)
|
||||
#define _SYNCREQL ((REQ_TYPE)0x00000200)
|
||||
#define _ASYNCREQ ((REQ_TYPE)0x00000400)
|
||||
|
||||
typedef uint32_t TIME_TYPE;
|
||||
#define _ALLTIME ((TIME_TYPE)0x00FF0000)
|
||||
#define _TIME_NB ((TIME_TYPE)0x00010000)
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include "microkernel/k_struct.h"
|
||||
#include "kmemcpy.h"
|
||||
#include "minik.h"
|
||||
#include "kchan.h"
|
||||
#include "kticks.h"
|
||||
#include <string_s.h>
|
||||
#include <toolchain.h>
|
||||
|
|
|
@ -39,6 +39,11 @@
|
|||
|
||||
#include "ch_cfg.h" /* defines the high-level behavior of the channel service \
|
||||
*/
|
||||
typedef uint32_t REQ_TYPE;
|
||||
#define _ALLREQ ((REQ_TYPE)0x0000FF00)
|
||||
#define _SYNCREQ ((REQ_TYPE)0x00000100)
|
||||
#define _SYNCREQL ((REQ_TYPE)0x00000200)
|
||||
#define _ASYNCREQ ((REQ_TYPE)0x00000400)
|
||||
|
||||
/* K functions: */
|
||||
|
||||
|
|
Loading…
Reference in a new issue