mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 20:03:54 -06:00
semihosting: Assert is_user in user-only semihosting_enabled
Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
d0b4cfa629
commit
17a71e8969
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
bool semihosting_enabled(bool is_user)
|
bool semihosting_enabled(bool is_user)
|
||||||
{
|
{
|
||||||
|
assert(is_user);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue