Damjan Marion | f508e07 | 2024-08-27 18:21:02 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: Apache-2.0 |
| 2 | * Copyright (c) 2023 Cisco Systems, Inc. |
| 3 | */ |
| 4 | |
| 5 | #ifndef _VNET_DEV_BUS_PLATFORM_H_ |
| 6 | #define _VNET_DEV_BUS_PLATFORM_H_ |
| 7 | |
| 8 | #include <vppinfra/clib.h> |
| 9 | #include <vppinfra/devicetree.h> |
| 10 | #include <vlib/vlib.h> |
| 11 | #include <vnet/dev/dev.h> |
| 12 | |
| 13 | #define PLATFORM_BUS_NAME "platform" |
| 14 | |
| 15 | extern clib_dt_main_t vnet_dev_bus_platform_dt_main; |
| 16 | |
| 17 | typedef struct |
| 18 | { |
| 19 | clib_dt_node_t *node; |
| 20 | } vnet_dev_bus_platform_device_info_t; |
| 21 | |
| 22 | typedef struct |
| 23 | { |
| 24 | clib_dt_node_t *node; |
| 25 | } vnet_dev_bus_platform_device_data_t; |
| 26 | |
| 27 | #endif /* _VNET_DEV_BUS_PLATFORM_H_ */ |