arm-trusted-firmware/lib/semihosting
Manish V Badarkhe 7c49438874 fix(semihosting): fix seek call failure check
The code checks that the semihosting seek call return value is not
zero instead of a negative value when there is an error condition.
This defect has been fixed.

In [1], possible return values for semihosting seek calls are
mentioned.

[1]: https://github.com/ARM-software/abi-aa/blob/main/semihosting/
semihosting.rst#sys-seek-0x0a

Change-Id: I70f09e98323e9c5bf4eeda322ac065e855e256fc
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
2022-09-28 11:53:42 +01:00
..
aarch32 Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
aarch64 Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
semihosting.c fix(semihosting): fix seek call failure check 2022-09-28 11:53:42 +01:00