#include <udi.h>
-//#ifndef UDI_PHYSIO_VERSION
-//# error "UDI_PHYSIO_VERSION must be defined"
-//#endif
+#ifndef UDI_PHYSIO_VERSION
+# error "UDI_PHYSIO_VERSION must be defined"
+#endif
+
+#define UDI_DL_PIO_HANDLE_T 200
+#define UDI_DL_DMA_CONSTRAINTS_T 201
// === TYPEDEFS ===
// DMA Core
-typedef _udi_handle_t udi_dma_handle_t;
+typedef struct udi_dma_handle_s *udi_dma_handle_t;
#define UDI_NULL_DMA_HANDLE _NULL_HANDLE
typedef uint64_t udi_busaddr64_t; //!< \note Opaque
typedef struct udi_scgth_element_32_s udi_scgth_element_32_t;
typedef struct udi_scgth_element_64_s udi_scgth_element_64_t;
typedef struct udi_scgth_s udi_scgth_t;
-typedef _udi_handle_t udi_dma_constraints_t;
+typedef struct udi_dma_constraints_s *udi_dma_constraints_t;
#define UDI_NULL_DMA_CONSTRAINTS _NULL_HANDLE
/**
* \name DMA constraints attributes
*/
// DMA Constraints Management
typedef struct udi_dma_constraints_attr_spec_s udi_dma_constraints_attr_spec_t;
-typedef void udi_dma_constraints_attr_set_call_t(
- udi_cb_t *gcb, udi_dma_constraints_t new_constraints, udi_status_t status
- );
typedef struct udi_dma_limits_s udi_dma_limits_t;
#include <physio/meta_bus.h>
#include "physio/pio.h"
-#include "physio/pci.h"
-
#endif