summary refs log tree commit diff stats
path: root/system/cpu-timers.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-01-16 16:02:31 +0000
committerAlex Bennée <alex.bennee@linaro.org>2025-01-17 10:43:48 +0000
commit23482ccd6bff4398643a90ca1c890f91f003e2c1 (patch)
tree961a79a7661602ed91cb572d70296088b28ef568 /system/cpu-timers.c
parent552260aeae26edebb1d660dae1e0c76fa234364b (diff)
downloadfocaccia-qemu-23482ccd6bff4398643a90ca1c890f91f003e2c1.tar.gz
focaccia-qemu-23482ccd6bff4398643a90ca1c890f91f003e2c1.zip
semihosting/uaccess: Briefly document returned values
Since it is not obvious the get/put_user*() methods
can return an error, add brief docstrings about it.
Also remind to use *unlock_user() when appropriate.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241212115413.42109-1-philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250116160306.1709518-3-alex.bennee@linaro.org>
Diffstat (limited to 'system/cpu-timers.c')
0 files changed, 0 insertions, 0 deletions