sim: bfin: migrate to standard uintXX_t types

Move off the sim-specific unsignedXX types and to the standard uintXX_t
types that C11 provides.
This commit is contained in:
Mike Frysinger 2021-12-06 02:09:47 -05:00
parent 39a5fdbc65
commit 4650ee9378

View File

@ -30,7 +30,7 @@ struct bfin_ctimer
{
bu32 base;
struct hw_event *handler;
signed64 timeout;
int64_t timeout;
/* Order after here is important -- matches hardware MMR layout. */
bu32 tcntl, tperiod, tscale, tcount;
@ -84,7 +84,7 @@ static void
bfin_ctimer_update_count (struct hw *me, struct bfin_ctimer *ctimer)
{
bu32 scale, ticks;
signed64 timeout;
int64_t timeout;
/* If the timer was enabled w/out autoreload and has expired, then
there's nothing to calculate here. */