summaryrefslogtreecommitdiff
path: root/libddekit/ddekit/resources.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-02-21 23:37:19 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-02-22 01:45:54 +0000
commit36261f6f0909abc6893c920445b800d81c02c921 (patch)
tree48065ddf055f2b405b75096f3bced16352564650 /libddekit/ddekit/resources.h
parent29d0d8df649036b90c588d1e87f96b72b8342063 (diff)
Clean up includes
To use the standard hurd Makeconf rules and permit external dde_* build
Diffstat (limited to 'libddekit/ddekit/resources.h')
-rw-r--r--libddekit/ddekit/resources.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libddekit/ddekit/resources.h b/libddekit/ddekit/resources.h
new file mode 100644
index 00000000..657295a0
--- /dev/null
+++ b/libddekit/ddekit/resources.h
@@ -0,0 +1,14 @@
+#ifndef _ddekit_resources_h
+#define _ddekit_resources_h
+
+#include "ddekit/types.h"
+
+int ddekit_request_dma(int nr);
+int ddekit_release_dma(int nr);
+int ddekit_request_io (ddekit_addr_t start, ddekit_addr_t count);
+int ddekit_release_io (ddekit_addr_t start, ddekit_addr_t count);
+int ddekit_request_mem(ddekit_addr_t start, ddekit_addr_t count, ddekit_addr_t *vaddr);
+int ddekit_release_mem(ddekit_addr_t start, ddekit_addr_t count);
+long ddekit_random (void);
+
+#endif