sim: callback: convert time interface to 64-bit

PR sim/27705
Rather than rely on time_t being the right size between the host &
target, have the interface always be 64-bit.  We can figure out if
we need to truncate when actually outputting it to the right target.
This commit is contained in:
Mike Frysinger
2021-04-24 14:35:14 -04:00
parent fcf102ba7a
commit 00330cd18a
11 changed files with 43 additions and 22 deletions

View File

@ -31,7 +31,7 @@ int sim_io_shutdown (SIM_DESC sd);
int sim_io_unlink (SIM_DESC sd, const char *);
long sim_io_time (SIM_DESC sd, long *);
int64_t sim_io_time (SIM_DESC sd);
int sim_io_system (SIM_DESC sd, const char *);