[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 39/45] tests/qtest/bcm2828-mailbox: Add mailbox tests tags. Part 3
From: |
Peter Maydell |
Subject: |
[PULL 39/45] tests/qtest/bcm2828-mailbox: Add mailbox tests tags. Part 3 |
Date: |
Tue, 27 Feb 2024 13:33:08 +0000 |
From: Sergey Kambalin <serg.oker@gmail.com>
Signed-off-by: Sergey Kambalin <sergey.kambalin@auriga.com>
Message-id: 20240226000259.2752893-36-sergey.kambalin@auriga.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
---
tests/qtest/bcm2838-mailbox.h | 78 +++++++++++++++++++++++++++++++++++
1 file changed, 78 insertions(+)
diff --git a/tests/qtest/bcm2838-mailbox.h b/tests/qtest/bcm2838-mailbox.h
index b4f7b7b3143..d753f17fb22 100644
--- a/tests/qtest/bcm2838-mailbox.h
+++ b/tests/qtest/bcm2838-mailbox.h
@@ -446,6 +446,84 @@ DECLARE_TAG_TYPE(TAG_GET_DMA_CHANNELS_t,
uint32_t mask;
});
+DECLARE_TAG_TYPE(TAG_GET_THROTTLED_t,
+ struct {},
+ struct {
+ uint32_t throttled;
+ });
+
+DECLARE_TAG_TYPE(TAG_FRAMEBUFFER_GET_NUM_DISPLAYS_t,
+ struct {},
+ struct {
+ uint32_t num_displays;
+ });
+
+DECLARE_TAG_TYPE(TAG_FRAMEBUFFER_GET_DISPLAY_SETTINGS_t,
+ struct {},
+ struct {
+ uint32_t display_num;
+ uint32_t phys_width;
+ uint32_t phys_height;
+ uint32_t bpp;
+ uint16_t pitch;
+ uint32_t virt_width;
+ uint32_t virt_height;
+ uint16_t virt_width_offset;
+ uint32_t virt_height_offset;
+ uint32_t fb_bus_address_lo;
+ uint32_t fb_bus_address_hi;
+ });
+
+DECLARE_TAG_TYPE(TAG_GET_GPIO_CONFIG_t,
+ struct {
+ uint32_t gpio_num;
+ },
+ struct {
+ uint32_t zero;
+ uint32_t direction;
+ uint32_t polarity;
+ uint32_t term_en;
+ uint32_t term_pull_up;
+ });
+
+
+DECLARE_TAG_TYPE(TAG_SET_GPIO_CONFIG_t,
+ struct {
+ uint32_t gpio_num;
+ uint32_t direction;
+ uint32_t polarity;
+ uint32_t term_en;
+ uint32_t term_pull_up;
+ uint32_t state;
+ },
+ struct {
+ uint32_t zero;
+ });
+
+DECLARE_TAG_TYPE(TAG_GET_GPIO_STATE_t,
+ struct {
+ uint32_t gpio_num;
+ },
+ struct {
+ uint32_t zero;
+ uint32_t state;
+ });
+
+DECLARE_TAG_TYPE(TAG_SET_GPIO_STATE_t,
+ struct {
+ uint32_t gpio_num;
+ uint32_t state;
+ },
+ struct {
+ uint32_t zero;
+ });
+
+DECLARE_TAG_TYPE(TAG_VCHIQ_INIT_t,
+ struct {},
+ struct {
+ uint32_t zero;
+ });
+
int mbox0_has_data(void);
void mbox0_read_message(uint8_t channel, void *msgbuf, size_t msgbuf_size);
void mbox1_write_message(uint8_t channel, uint32_t msg_addr);
--
2.34.1
- [PULL 07/45] hw/arm: Use TYPE_OR_IRQ when connecting STM32L4x5 EXTI fan-in IRQs, (continued)
- [PULL 07/45] hw/arm: Use TYPE_OR_IRQ when connecting STM32L4x5 EXTI fan-in IRQs, Peter Maydell, 2024/02/27
- [PULL 11/45] arm: xlnx-versal-virt: Add machine property ospi-flash, Peter Maydell, 2024/02/27
- [PULL 13/45] system/bootdevice: Don't unregister reset handler in restore_boot_order(), Peter Maydell, 2024/02/27
- [PULL 21/45] hw/arm/bcm2836: Split out common part of BCM283X classes, Peter Maydell, 2024/02/27
- [PULL 25/45] hw/arm/bcm2838: Add GIC-400 to BCM2838 SoC, Peter Maydell, 2024/02/27
- [PULL 24/45] hw/arm: Introduce BCM2838 SoC, Peter Maydell, 2024/02/27
- [PULL 20/45] docs/devel/reset: Update to discuss system reset, Peter Maydell, 2024/02/27
- [PULL 30/45] hw/arm: Introduce Raspberry PI 4 machine, Peter Maydell, 2024/02/27
- [PULL 35/45] tests/qtest: Add bcm2838 mailbox test stub, Peter Maydell, 2024/02/27
- [PULL 22/45] hw/arm/bcm2853_peripherals: Split out common part of peripherals, Peter Maydell, 2024/02/27
- [PULL 39/45] tests/qtest/bcm2828-mailbox: Add mailbox tests tags. Part 3,
Peter Maydell <=
- [PULL 09/45] pl031: Update last RTCLR value on write in case it's read back, Peter Maydell, 2024/02/27
- [PULL 05/45] misc: pxa2xx_timer: replace qemu_system_reset_request() call with watchdog_perform_action(), Peter Maydell, 2024/02/27
- [PULL 19/45] hw/core/machine: Use qemu_register_resettable for sysbus reset, Peter Maydell, 2024/02/27
- [PULL 28/45] hw/gpio: Connect SD controller to BCM2838 GPIO, Peter Maydell, 2024/02/27
- [PULL 14/45] include/qom/object.h: New OBJECT_DEFINE_SIMPLE_TYPE{, _WITH_INTERFACES} macros, Peter Maydell, 2024/02/27
- [PULL 16/45] hw/core: Add ResetContainer which holds objects implementing Resettable, Peter Maydell, 2024/02/27
- [PULL 31/45] hw/arm/raspi4b: Temporarily disable unimplemented rpi4b devices, Peter Maydell, 2024/02/27
- [PULL 29/45] hw/arm: Add GPIO and SD to BCM2838 periph, Peter Maydell, 2024/02/27
- [PULL 36/45] tests/qtest/bcm2828-mailbox: Add mailbox test constants, Peter Maydell, 2024/02/27
- [PULL 34/45] tests/avocado/boot_linux_console.py: Add Rpi4b boot tests, Peter Maydell, 2024/02/27