diff options
| author | Alex Bennée | 2019-05-14 13:21:45 +0200 |
|---|---|---|
| committer | Alex Bennée | 2019-05-28 11:28:51 +0200 |
| commit | 629a0b065af074a43176968e1e242b87fc3be39f (patch) | |
| tree | af6aceef4d8b491372f5afafd48d76343351aa12 /scripts/switch-timer-api | |
| parent | target/arm: add LOG_UNIMP messages to arm-semi (diff) | |
| download | qemu-629a0b065af074a43176968e1e242b87fc3be39f.tar.gz qemu-629a0b065af074a43176968e1e242b87fc3be39f.tar.xz qemu-629a0b065af074a43176968e1e242b87fc3be39f.zip | |
target/arm: correct return values for WRITE/READ in arm-semi
The documentation says the write should return the number of bytes not
written on an error (0 means everything was written). Read provides a
buffer length and the return value should be the buffer length - bytes
actually read. Remove the incorrect FIXME's and return the correct
values.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
