Limit exposure of non-public microkernel object API
The encoding of the microkernel object identifier fields is something that only the microkernel needs to know. Change-Id: I3701760cdce5768e082b6d2432b75382f5a2f557 Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
This commit is contained in:
parent
6ecfc66152
commit
19ec0685df
2 changed files with 2 additions and 2 deletions
|
@ -39,8 +39,6 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define OBJ_INDEX(objId) ((uint16_t)objId)
|
||||
|
||||
typedef int32_t ktask_t;
|
||||
typedef uint32_t ktask_group_t;
|
||||
typedef uint32_t kmutex_t;
|
||||
|
|
|
@ -38,6 +38,8 @@
|
|||
|
||||
#define KERNEL_ENTRY(A) _k_task_call(A)
|
||||
|
||||
#define OBJ_INDEX(objId) ((uint16_t)objId)
|
||||
|
||||
extern struct k_proc _k_task_list[];
|
||||
extern struct k_tqhd _k_task_priority_list[];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue