Searched hist:"31833 aff6802a4b5bdc3b7007ce8b1871991e796" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_ARM-atf/lib/semihosting/ |
| H A D | semihosting.c | 31833aff6802a4b5bdc3b7007ce8b1871991e796 Tue Jul 07 14:36:33 UTC 2015 Juan Castillo <juan.castillo@arm.com> Fix bug in semihosting write function
The return value from the SYS_WRITE semihosting operation is 0 if the call is successful or the number of bytes not written, if there is an error. The implementation of the write function in the semihosting driver treats the return value as the number of bytes written, which is wrong. This patch fixes it.
Change-Id: Id39dac3d17b5eac557408b8995abe90924c85b85
|
| /rk3399_ARM-atf/drivers/io/ |
| H A D | io_semihosting.c | 31833aff6802a4b5bdc3b7007ce8b1871991e796 Tue Jul 07 14:36:33 UTC 2015 Juan Castillo <juan.castillo@arm.com> Fix bug in semihosting write function
The return value from the SYS_WRITE semihosting operation is 0 if the call is successful or the number of bytes not written, if there is an error. The implementation of the write function in the semihosting driver treats the return value as the number of bytes written, which is wrong. This patch fixes it.
Change-Id: Id39dac3d17b5eac557408b8995abe90924c85b85
|