OSDN Git Service

hw/m68k/mcf_intc: Pass CPU using QOM link property
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 24 Oct 2023 08:30:07 +0000 (10:30 +0200)
committerThomas Huth <huth@tuxfamily.org>
Wed, 1 Nov 2023 06:20:34 +0000 (07:20 +0100)
commit4c4ee593d636dc462b6fe15e00c31d6ff6c72bd0
tree9294485ee6412bef260b814079ceb3b1e309f9b8
parent4768968960f74db92d9fac360c17838cda39614b
hw/m68k/mcf_intc: Pass CPU using QOM link property

QOM objects shouldn't access each other internals fields
except using the QOM API.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Thomas Huth <huth@tuxfamily.org>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Message-ID: <20231024083010.12453-5-philmd@linaro.org>
Signed-off-by: Thomas Huth <huth@tuxfamily.org>
hw/m68k/mcf_intc.c