From 2fbe9507bfba58a6a000d231fe735bad1f245b55 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 24 Apr 2021 14:40:43 -0400 Subject: sim: callback: convert FS interfaces to 64-bit Rather than rely on off_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. --- sim/common/ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sim/common/ChangeLog') diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 879aac9..b360ebd 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,13 @@ 2021-05-14 Mike Frysinger + * callback.c (os_lseek): Change return and 3rd arg to int64_t. + (os_ftruncate): Change 3rd arg to int64_t. + (os_truncate): Change 3rd arg to int64_t. + * sim-io.c (sim_io_lseek): Change return and 3rd arg to int64_t. + * sim-io.h (sim_io_lseek): Likewise. + +2021-05-14 Mike Frysinger + * callback.c (os_time): Change return to int64_t. Delete 2nd arg. (os_fstat): Delete 2nd arg to time callback. * sim-io.c (sim_io_time): Change return to int64_t. Delete 2nd arg -- cgit v1.1