hw/tricore/testboard: Use qdev_new() instead of QOM basic APIPrefer QDev API for QDev objects, avoid the underlying QOM layer.Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>Reviewed-by
hw/tricore/testboard: Use qdev_new() instead of QOM basic APIPrefer QDev API for QDev objects, avoid the underlying QOM layer.Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>Message-Id: <20240216110313.17039-5-philmd@linaro.org>
show more ...
Do not include hw/hw.h if it is not necessaryhw.h only contains the protoype of one function nowadays, hw_error(),so all files that do not use this function anymore also do not needto include thi
Do not include hw/hw.h if it is not necessaryhw.h only contains the protoype of one function nowadays, hw_error(),so all files that do not use this function anymore also do not needto include this header anymore.Message-Id: <20230216142915.304481-1-thuth@redhat.com>Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/tricore: Clean up includesThis commit was created with scripts/clean-includes.All .c should include qemu/osdep.h first. The script performs threerelated cleanups:* Ensure .c files include
hw/tricore: Clean up includesThis commit was created with scripts/clean-includes.All .c should include qemu/osdep.h first. The script performs threerelated cleanups:* Ensure .c files include qemu/osdep.h first.* Including it in a .h is redundant, since the .c already includes it. Drop such inclusions.* Likewise, including headers qemu/osdep.h includes is redundant. Drop these, too.Signed-off-by: Markus Armbruster <armbru@redhat.com>Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>Reviewed-by: Michael S. Tsirkin <mst@redhat.com>Message-Id: <20230202133830.2152150-10-armbru@redhat.com>
Clean up ill-advised or unusual header guardsLeading underscores are ill-advised because such identifiers arereserved. Trailing underscores are merely ugly. Strip both.Our header guards common
Clean up ill-advised or unusual header guardsLeading underscores are ill-advised because such identifiers arereserved. Trailing underscores are merely ugly. Strip both.Our header guards commonly end in _H. Normalize the exceptions.Macros should be ALL_CAPS. Normalize the exception.Done with scripts/clean-header-guards.pl.include/hw/xen/interface/ and tools/virtiofsd/ left alone, becausethese were imported from Xen and libfuse respectively.Signed-off-by: Markus Armbruster <armbru@redhat.com>Message-Id: <20220506134911.2856099-3-armbru@redhat.com>Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Clean up header guards that don't match their file nameHeader guard symbols should match their file name to make guardcollisions less likely.Cleaned up with scripts/clean-header-guards.pl, follo
Clean up header guards that don't match their file nameHeader guard symbols should match their file name to make guardcollisions less likely.Cleaned up with scripts/clean-header-guards.pl, followed by somerenaming of new guard symbols picked by the script to better ones.Signed-off-by: Markus Armbruster <armbru@redhat.com>Message-Id: <20220506134911.2856099-2-armbru@redhat.com>Reviewed-by: Richard Henderson <richard.henderson@linaro.org>[Change to generated file ebpf/rss.bpf.skeleton.h backed out]
hw/tricore: Remove unused and incorrect headerTriCore boards certainly don't need the ARM loader API :)Reviewed-by: Richard Henderson <richard.henderson@linaro.org>Reviewed-by: Thomas Huth <thut
hw/tricore: Remove unused and incorrect headerTriCore boards certainly don't need the ARM loader API :)Reviewed-by: Richard Henderson <richard.henderson@linaro.org>Reviewed-by: Thomas Huth <thuth@redhat.com>Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>Message-Id: <20220214183144.27402-4-f4bug@amsat.org>Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/tricore: Add testdevice for tests in tests/tcg/this device is used to verify the correctness of regression tests byallowing guests to write their exit status to this device. This is thenused b
hw/tricore: Add testdevice for tests in tests/tcg/this device is used to verify the correctness of regression tests byallowing guests to write their exit status to this device. This is thenused by qemu to exit using the written status.Reviewed-by: Alex Bennée <alex.bennee@linaro.org>Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>Signed-off-by: Alex Bennée <alex.bennee@linaro.org>Message-Id: <20210305170045.869437-4-kbastian@mail.uni-paderborn.de>Message-Id: <20210512102051.12134-14-alex.bennee@linaro.org>
tricore: added triboard with tc27x_socReviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>Signed-off-by: Andreas Konopik <andreas.konopik@efs-auto.de>Signed-off-by: David Brenken <dav
tricore: added triboard with tc27x_socReviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>Signed-off-by: Andreas Konopik <andreas.konopik@efs-auto.de>Signed-off-by: David Brenken <david.brenken@efs-auto.de>Signed-off-by: Georg Hofstetter <georg.hofstetter@efs-auto.de>Signed-off-by: Robert Rasche <robert.rasche@efs-auto.de>Signed-off-by: Lars Biermanski <lars.biermanski@efs-auto.de>Message-Id: <20201109165055.10508-2-david.brenken@efs-auto.org>Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Include hw/irq.h a lot lessIn my "build everything" tree, changing hw/irq.h triggers a recompileof some 5400 out of 6600 objects (not counting tests and objects thatdon't depend on qemu/osdep.h).
Include hw/irq.h a lot lessIn my "build everything" tree, changing hw/irq.h triggers a recompileof some 5400 out of 6600 objects (not counting tests and objects thatdon't depend on qemu/osdep.h).hw/hw.h supposedly includes it for convenience. Several other headersinclude it just to get qemu_irq and.or qemu_irq_handler.Move the qemu_irq and qemu_irq_handler typedefs from hw/irq.h toqemu/typedefs.h, and then include hw/irq.h only where it's stillneeded. Touching it now recompiles only some 500 objects.Signed-off-by: Markus Armbruster <armbru@redhat.com>Reviewed-by: Alistair Francis <alistair.francis@wdc.com>Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>Message-Id: <20190812052359.30071-13-armbru@redhat.com>
Clean up header guards that don't match their file nameHeader guard symbols should match their file name to make guardcollisions less likely. Offenders found withscripts/clean-header-guards.pl -
Clean up header guards that don't match their file nameHeader guard symbols should match their file name to make guardcollisions less likely. Offenders found withscripts/clean-header-guards.pl -vn.Cleaned up with scripts/clean-header-guards.pl, followed by somerenaming of new guard symbols picked by the script to better ones.Signed-off-by: Markus Armbruster <armbru@redhat.com>Reviewed-by: Richard Henderson <rth@twiddle.net>
target-tricore: Add board for systemmodeAdd basic board to allow systemmode emulationSigned-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>Message-id: 1409572800-4116-3-git-send-emai
target-tricore: Add board for systemmodeAdd basic board to allow systemmode emulationSigned-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>Message-id: 1409572800-4116-3-git-send-email-kbastian@mail.uni-paderborn.deSigned-off-by: Peter Maydell <peter.maydell@linaro.org>