diff options
author | Matheus Ferst <matheus.ferst@eldorado.org.br> | 2022-10-11 17:48:01 -0300 |
---|---|---|
committer | Daniel Henrique Barboza <danielhb413@gmail.com> | 2022-10-28 13:15:22 -0300 |
commit | f003109f710bb39a78c27ce18aa10579340f5a3f (patch) | |
tree | 1b7ed6f95000cebf3467dbee189b8ef42c56477e /qom | |
parent | bbd8dd5e45b831ef3fda585cf80d08f45cdaba95 (diff) | |
download | qemu-f003109f710bb39a78c27ce18aa10579340f5a3f.zip qemu-f003109f710bb39a78c27ce18aa10579340f5a3f.tar.gz qemu-f003109f710bb39a78c27ce18aa10579340f5a3f.tar.bz2 |
target/ppc: define PPC_INTERRUPT_* values directly
This enum defines the bit positions in env->pending_interrupts for each
interrupt. However, except for the comparison in kvmppc_set_interrupt,
the values are always used as (1 << PPC_INTERRUPT_*). Define them
directly like that to save some clutter. No functional change intended.
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20221011204829.1641124-2-matheus.ferst@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'qom')
0 files changed, 0 insertions, 0 deletions