]> Git Repo - qemu.git/commit - plugins/api.c
plugins: fix-up handling of internal hostaddr for 32 bit
authorAlex Bennée <[email protected]>
Fri, 9 Jul 2021 14:29:52 +0000 (15:29 +0100)
committerAlex Bennée <[email protected]>
Wed, 14 Jul 2021 13:33:53 +0000 (14:33 +0100)
commit2d932039980ab78b39030a7a80ad5eb7a93c894f
treed6f19917d2a2687fe398c87f54c50089359c0684
parente2bcd3ad093a6bd4a045d5b5d22f0b92243d0da3
plugins: fix-up handling of internal hostaddr for 32 bit

The compiler rightly complains when we build on 32 bit that casting
uint64_t into a void is a bad idea. We are really dealing with a host
pointer at this point so treat it as such. This does involve
a uintptr_t cast of the result of the TLB addend as we know that has
to point to the host memory.

Signed-off-by: Alex Bennée <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <20210709143005[email protected]>
accel/tcg/cputlb.c
include/qemu/plugin-memory.h
plugins/api.c
This page took 0.028111 seconds and 4 git commands to generate.