zephyr: replace zephyr integer types with C99 types

git grep -l 'u\(8\|16\|32\|64\)_t' | \
		xargs sed -i "s/u\(8\|16\|32\|64\)_t/uint\1_t/g"
	git grep -l 's\(8\|16\|32\|64\)_t' | \
		xargs sed -i "s/s\(8\|16\|32\|64\)_t/int\1_t/g"

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-05-27 11:26:57 -05:00 committed by Kumar Gala
commit a1b77fd589
2364 changed files with 32505 additions and 32505 deletions

View file

@ -39,14 +39,14 @@ static void litex_timer_irq_handler(void *device)
irq_unlock(key);
}
u32_t z_timer_cycle_get_32(void)
uint32_t z_timer_cycle_get_32(void)
{
static struct k_spinlock lock;
u32_t timer_total;
uint32_t timer_total;
k_spinlock_key_t key = k_spin_lock(&lock);
litex_write8(UPDATE_TOTAL, TIMER_TOTAL_UPDATE);
timer_total = (u32_t)litex_read64(TIMER_TOTAL);
timer_total = (uint32_t)litex_read64(TIMER_TOTAL);
k_spin_unlock(&lock, key);
@ -54,7 +54,7 @@ u32_t z_timer_cycle_get_32(void)
}
/* tickless kernel is not supported */
u32_t z_clock_elapsed(void)
uint32_t z_clock_elapsed(void)
{
return 0;
}