mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
qdev-core.h: Fix wrongly named reference to TYPE_SPLIT_IRQ
Fix a comment in qdev-core.h where we incorrectly referred to TYPE_IRQ_SPLIT when we meant TYPE_SPLIT_IRQ. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20220111172655.3546766-1-peter.maydell@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
2a0c513669
commit
5df69ab895
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ qemu_irq qdev_get_gpio_in_named(DeviceState *dev, const char *name, int n);
|
||||||
* qemu_irqs at once, or to connect multiple outbound GPIOs to the
|
* qemu_irqs at once, or to connect multiple outbound GPIOs to the
|
||||||
* same qemu_irq. (Warning: there is no assertion or other guard to
|
* same qemu_irq. (Warning: there is no assertion or other guard to
|
||||||
* catch this error: the model will just not do the right thing.)
|
* catch this error: the model will just not do the right thing.)
|
||||||
* Instead, for fan-out you can use the TYPE_IRQ_SPLIT device: connect
|
* Instead, for fan-out you can use the TYPE_SPLIT_IRQ device: connect
|
||||||
* a device's outbound GPIO to the splitter's input, and connect each
|
* a device's outbound GPIO to the splitter's input, and connect each
|
||||||
* of the splitter's outputs to a different device. For fan-in you
|
* of the splitter's outputs to a different device. For fan-in you
|
||||||
* can use the TYPE_OR_IRQ device, which is a model of a logical OR
|
* can use the TYPE_OR_IRQ device, which is a model of a logical OR
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue