summaryrefslogtreecommitdiff
path: root/include/common/kernel/dmacmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/common/kernel/dmacmgr.h')
-rw-r--r--include/common/kernel/dmacmgr.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/include/common/kernel/dmacmgr.h b/include/common/kernel/dmacmgr.h
new file mode 100644
index 0000000..5b4a431
--- /dev/null
+++ b/include/common/kernel/dmacmgr.h
@@ -0,0 +1,33 @@
+#ifndef _VDSUITE_COMMON_KERNEL_DMACMGR_H
+#define _VDSUITE_COMMON_KERNEL_DMACMGR_H
+
+#include <cdefs.h>
+#include <kernel/types.h>
+
+SCE_CDECL_BEGIN
+
+/**
+ * DMA memcpy
+ *
+ * @param[in] dst - Destination
+ * @param[in] src - Source
+ * @param[in] size - Size
+ *
+ * @return dst.
+*/
+void *sceDmacMemcpy(void *dst, const void *src, SceSize size);
+
+/**
+ * DMA memset
+ *
+ * @param[in] dst - Destination
+ * @param[in] c - Constant
+ * @param[in] size - Size
+ *
+ * @return dst.
+*/
+void *sceDmacMemset(void *dst, int c, SceSize size);
+
+SCE_CDECL_END
+
+#endif /* _VDSUITE_COMMON_KERNEL_DMACMGR_H */