summary refs log tree commit diff stats
path: root/hw/avr/arduino.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-01-25 14:36:42 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-02-16 14:25:07 +0100
commit47dfd350fbf80bdfc7dcc102974fad328bf3e993 (patch)
tree7b84f8f1580f57bca982b067cc8dcc431f130f14 /hw/avr/arduino.c
parent45683d1e7c622b1e9c0a41054847f519cd2aaa45 (diff)
downloadfocaccia-qemu-47dfd350fbf80bdfc7dcc102974fad328bf3e993.tar.gz
focaccia-qemu-47dfd350fbf80bdfc7dcc102974fad328bf3e993.zip
hw/sysbus: Introduce TYPE_DYNAMIC_SYS_BUS_DEVICE
Some TYPE_SYS_BUS_DEVICEs can be optionally dynamically
plugged on the TYPE_PLATFORM_BUS_DEVICE.
Rather than sometimes noting that with comment around
the 'user_creatable = true' line in each DeviceRealize
handler, introduce an abstract TYPE_DYNAMIC_SYS_BUS_DEVICE
class.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alexander Graf <graf@amazon.com>
Reviewed-by: Clément Mathieu--Drif <clement.mathieu--drif@eviden.com>
Message-Id: <20250125181343.59151-4-philmd@linaro.org>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions