+/**
+ * Initialisiert einen Transport per DMA
+ */
+int cdi_dma_open(struct cdi_dma_handle* handle, uint8_t channel, uint8_t mode,
+ size_t length);
+
+/**
+ * Liest Daten per DMA ein
+ */
+int cdi_dma_read(struct cdi_dma_handle* handle, void* buffer);
Index: lib/cdi.c
===================================================================
--- lib/cdi.c (Revision 656)
+++ lib/cdi.c (Arbeitskopie)
@@ -31,6 +32,9 @@
{
drivers = list_create();
atexit(cdi_destroy);
+
+ lostio_init();
+ lostio_type_directory_use();
}
@@ -93,6 +98,7 @@
void cdi_driver_register(struct cdi_driver* driver)
{
list_push(drivers, driver);
+ init_service_register((char*) driver->name);
}