[Feauture] support adbd listening on tcp port with uci config
Change-Id: Ic885b955900cf3cf20322ba5f54ff47d1eedf0ef
diff --git a/src/devtools/adb_tcp/transport_pcie.h b/src/devtools/adb_tcp/transport_pcie.h
new file mode 100644
index 0000000..8c33ae0
--- /dev/null
+++ b/src/devtools/adb_tcp/transport_pcie.h
@@ -0,0 +1,26 @@
+#ifndef __TRANSPORT_PCIE__H
+#define __TRANSPORT_PCIE__H
+
+#include "fdevent.h"
+#include "adb.h"
+#include "sysdeps.h"
+
+struct pcie_info {
+ unsigned short device;
+ unsigned short vendor;
+ unsigned int class;
+};
+
+struct pcie_handle {
+ int fd;
+ struct pcie_info *info;
+
+ adb_cond_t notify;
+ adb_mutex_t lock;
+
+ int (*write)(struct pcie_handle *h, const void *data, int len);
+ int (*read)(struct pcie_handle *h, void *data, int len);
+ void (*kick)(struct pcie_handle *h);
+};
+
+#endif