qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5 19/20] hw/isa: derive CPUState from MemTxAttrs in apm_iopo


From: Richard Henderson
Subject: Re: [PATCH v5 19/20] hw/isa: derive CPUState from MemTxAttrs in apm_ioport_writeb
Date: Sat, 12 Nov 2022 16:04:17 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 11/12/22 04:25, Alex Bennée wrote:
Some of the callbacks need a CPUState so extend the interface so we
can pass that down rather than relying on current_cpu hacks.

Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
---
  include/hw/isa/apm.h |  2 +-
  hw/acpi/ich9.c       |  1 -
  hw/acpi/piix4.c      |  2 +-
  hw/isa/apm.c         | 21 +++++++++++++++++----
  hw/isa/lpc_ich9.c    |  5 ++---
  5 files changed, 21 insertions(+), 10 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]