diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2024-02-27 14:43:24 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2024-02-28 09:11:40 +0000 |
commit | f2e8d2d89954ed3d9603c904aaad1264cf250551 (patch) | |
tree | dafce864b916f075e393008ba9005ebde0534aee | |
parent | c490e681ecce6d035fb67f02c2b674ab62a667f6 (diff) | |
download | qemu-f2e8d2d89954ed3d9603c904aaad1264cf250551.zip qemu-f2e8d2d89954ed3d9603c904aaad1264cf250551.tar.gz qemu-f2e8d2d89954ed3d9603c904aaad1264cf250551.tar.bz2 |
linux-user: ensure nios2 processes queued work
While async processes are rare for linux-user we do use them from time
to time. The most obvious one is tb_flush when we run out of
translation space. We will also need this when we move plugin
vcpu_init to an async task.
Fix nios2 to follow its older, wiser and more stable siblings.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240227144335.1196131-19-alex.bennee@linaro.org>
-rw-r--r-- | linux-user/nios2/cpu_loop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/nios2/cpu_loop.c b/linux-user/nios2/cpu_loop.c index da77ede7..7fe08c8 100644 --- a/linux-user/nios2/cpu_loop.c +++ b/linux-user/nios2/cpu_loop.c @@ -32,6 +32,7 @@ void cpu_loop(CPUNios2State *env) cpu_exec_start(cs); trapnr = cpu_exec(cs); cpu_exec_end(cs); + process_queued_cpu_work(cs); switch (trapnr) { case EXCP_INTERRUPT: |