diff options
author | 2022-10-21 11:21:55 -0300 | |
---|---|---|
committer | 2022-10-28 13:15:22 -0300 | |
commit | ab9cfa04523e0312c741e16ca54c5fa4e1eee9e2 (patch) | |
tree | b891879eb6893665a7aea9ba7bc12410bff9f093 /hw/usb/dev-hub.c | |
parent | target/ppc: introduce ppc_maybe_interrupt (diff) | |
download | qemu-ab9cfa04523e0312c741e16ca54c5fa4e1eee9e2.tar.xz qemu-ab9cfa04523e0312c741e16ca54c5fa4e1eee9e2.zip |
target/ppc: unify cpu->has_work based on cs->interrupt_request
Now that cs->interrupt_request indicates if there is any unmasked
interrupt, checking if the CPU has work to do can be simplified to a
single check that works for all CPU models.
Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20221021142156.4134411-3-matheus.ferst@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'hw/usb/dev-hub.c')
0 files changed, 0 insertions, 0 deletions