X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=UDI%2Finclude%2Fudi_physio.h;h=f7643c8e59ef76b01fea614baf05df322c27ea08;hb=5aecf80b58aa2e6aee9d0354232d5915e8f30bee;hp=f5c3ab1525b50ee858f0a3ca54aa45b2852bb543;hpb=9e64659133d3c12fb6e315ae8de74d9b912f90dd;p=tpg%2Facess2.git diff --git a/UDI/include/udi_physio.h b/UDI/include/udi_physio.h index f5c3ab15..f7643c8e 100644 --- a/UDI/include/udi_physio.h +++ b/UDI/include/udi_physio.h @@ -10,15 +10,18 @@ //# 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 @@ -66,9 +69,6 @@ typedef udi_ubit8_t udi_dma_constraints_attr_t; */ // 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;