Re: [PATCH v4 32/53] semihosting: Split out semihost_sys_lseek

2022-06-22 Thread Luc Michel
On 13:45 Tue 07 Jun , Richard Henderson wrote: > Split out the non-ARM specific portions of SYS_SEEK to a > reusable function. This handles all GuestFD. Isolate the > curious ARM-specific return value processing to a new > callback, common_semi_seek_cb. > > Expand the internal type of the of

[PATCH v4 32/53] semihosting: Split out semihost_sys_lseek

2022-06-07 Thread Richard Henderson
Split out the non-ARM specific portions of SYS_SEEK to a reusable function. This handles all GuestFD. Isolate the curious ARM-specific return value processing to a new callback, common_semi_seek_cb. Expand the internal type of the offset to int64_t, and provide the whence argument, which will be