]> git.proxmox.com Git - mirror_qemu.git/commit - hw/sparc/leon3.c
leon3: use qdev gpio facilities for the PIL
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 20 Nov 2019 13:38:51 +0000 (17:38 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 7 Jan 2020 13:24:29 +0000 (17:24 +0400)
commite23ae617f68420248a978c1040686658a34a7f95
treea05120759cb17a44e6cbc07af0734f211950031b
parentab4c072d2f2f4d2e4bfa54bb89e43e2b4cb86275
leon3: use qdev gpio facilities for the PIL

As Peter Maydell once said:
"Creating a gpio pin on some object that isn't yourself
looks a bit odd, but all this leon3 code is modifying
the CPU object from the outside anyway. Someday we might
tidy it up, but not today."

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/sparc/leon3.c
target/sparc/cpu.h