aboutsummaryrefslogtreecommitdiff
path: root/target/ppc/cpu.h
diff options
context:
space:
mode:
authorFrederic Barrat <fbarrat@linux.ibm.com>2023-07-05 10:14:00 +0200
committerDaniel Henrique Barboza <danielhb413@gmail.com>2023-07-07 04:46:12 -0300
commited75a123579d56b5523f74868bb2c5877dc2c119 (patch)
tree73cde388478e0a1200d2f2ea2a177464e6e89fe4 /target/ppc/cpu.h
parentff349cce8923d3c1713a6d58eb98ff692e6637f6 (diff)
downloadqemu-ed75a123579d56b5523f74868bb2c5877dc2c119.zip
qemu-ed75a123579d56b5523f74868bb2c5877dc2c119.tar.gz
qemu-ed75a123579d56b5523f74868bb2c5877dc2c119.tar.bz2
pnv/xive2: Always pass a presenter object when accessing the TIMA
The low-level functions to access the TIMA take a presenter object as a first argument. When accessing the TIMA from the IC BAR, i.e. indirect calls, we currently pass a NULL pointer for the presenter argument. While it appears ok with the current usage, it's dangerous. And it's pretty easy to figure out the presenter in that context, so this patch fixes it. Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Message-ID: <20230705081400.218408-1-fbarrat@linux.ibm.com> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'target/ppc/cpu.h')
0 files changed, 0 insertions, 0 deletions