Skip to content
Snippets Groups Projects
Commit 5aadd182 authored by Richard Henderson's avatar Richard Henderson
Browse files

semihosting: Inline set_swi_errno into common_semi_cb


Do not store 'err' into errno only to read it back immediately.
Use 'ret' for the return value, not 'reg0'.

Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent 1c6ff720
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment