Convert remaining code to using newly introduced integer sized types
Convert code to use u{8,16,32,64}_t and s{8,16,32,64}_t instead of C99 integer types. This handles the remaining includes and kernel, plus touching up various points that we skipped because of include dependancies. We also convert the PRI printf formatters in the arch code over to normal formatters. Jira: ZEP-2051 Change-Id: Iecbb12601a3ee4ea936fd7ddea37788a645b08b0 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
d9a1e367b2
commit
cc334c7273
132 changed files with 1420 additions and 1429 deletions
|
@ -68,7 +68,7 @@ static void prepare_thread_to_run(struct k_thread *thread, void *data)
|
|||
static inline int handle_poll_event(struct k_queue *queue)
|
||||
{
|
||||
#ifdef CONFIG_POLL
|
||||
uint32_t state = K_POLL_STATE_DATA_AVAILABLE;
|
||||
u32_t state = K_POLL_STATE_DATA_AVAILABLE;
|
||||
|
||||
return queue->poll_event ?
|
||||
_handle_obj_poll_event(&queue->poll_event, state) : 0;
|
||||
|
@ -161,7 +161,7 @@ void k_queue_merge_slist(struct k_queue *queue, sys_slist_t *list)
|
|||
sys_slist_init(list);
|
||||
}
|
||||
|
||||
void *k_queue_get(struct k_queue *queue, int32_t timeout)
|
||||
void *k_queue_get(struct k_queue *queue, s32_t timeout)
|
||||
{
|
||||
unsigned int key;
|
||||
void *data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue