Modules/UDI - Minor tweaks
[tpg/acess2.git] / KernelLand / Modules / Interfaces / UDI / include / udi_physio.h
index 1397b1c..f5c3ab1 100644 (file)
@@ -6,11 +6,15 @@
 
 #include <udi.h>
 
+//#ifndef UDI_PHYSIO_VERSION
+//# error "UDI_PHYSIO_VERSION must be defined"
+//#endif
+
 // === TYPEDEFS ===
 // DMA Core
 typedef _udi_handle_t  udi_dma_handle_t;
 #define        UDI_NULL_DMA_HANDLE     _NULL_HANDLE
-typedef Uint64 udi_busaddr64_t;        //!< \note Opaque
+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;
@@ -118,27 +122,12 @@ struct udi_scgth_s
 
 
 // === FUNCTIONS ===
-// --- DMA Constraints Management ---
-extern void udi_dma_constraints_attr_set(
-       udi_dma_constraints_attr_set_call_t     *callback,
-       udi_cb_t        *gcb,
-       udi_dma_constraints_t   src_constraints,
-       const udi_dma_constraints_attr_spec_t   *attr_list,
-       udi_ubit16_t    list_length,
-       udi_ubit8_t     flags
-       );
-/* Constraints Flags */
-#define UDI_DMA_CONSTRAINTS_COPY (1U<<0)
-
-extern void udi_dma_constraints_attr_reset(
-       udi_dma_constraints_t   constraints,
-       udi_dma_constraints_attr_t      attr_type
-       );
-
-extern void udi_dma_constraints_free(udi_dma_constraints_t constraints);
-
+#include <physio/dma_const.h>
+#include <physio/dma.h>
 #include <physio/meta_intr.h>
 #include <physio/meta_bus.h>
+#include "physio/pio.h"
 
+#include "physio/pci.h"
 
 #endif

UCC git Repository :: git.ucc.asn.au