u-boot/arch/sandbox/cpu
Heinrich Schuchardt 1a07d39521 sandbox: fix return type of os_filesize()
Given a file ../img of size 4294967296 with GPT partition table and
partitions:

=> host bind 0 ../img
=> part list host 0
Disk host-0.blk not ready

The cause is os_filesize() returning int. File sizes must use off_t.

Correct all uses of os_filesize() too.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-04-28 11:30:17 -06:00
..
cache.c sandbox: implement invalidate_icache_all() 2020-12-22 20:39:25 -07:00
cpu.c sandbox: mark sandbox_exit() as no return. 2023-04-28 11:30:17 -06:00
eth-raw-os.c sandbox: eth-raw: fix building with musl library 2022-01-25 14:02:38 -07:00
Makefile sandbox: fix build failure with musl and SDL 2022-02-09 12:26:12 -07:00
os.c sandbox: fix return type of os_filesize() 2023-04-28 11:30:17 -06:00
sdl.c sandbox: fix sound driver 2022-12-05 17:43:23 +01:00
spl.c test: Add a way to detect a test that breaks another 2022-11-07 16:24:30 -07:00
start.c global: Migrate CONFIG_MALLOC_F_ADDR to CFG 2022-12-23 10:14:51 -05:00
state.c sandbox: Allow SPI flash bootdevs to be disabled for tests 2023-01-23 18:11:41 -05:00
u-boot-spl.lds linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
u-boot.lds linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00