diff options
author | Reiko Asakura | 2021-01-20 16:28:31 -0500 |
---|---|---|
committer | Reiko Asakura | 2021-01-20 16:28:31 -0500 |
commit | c548125a34862ecda4e8a74fc26d22f9972ea91a (patch) | |
tree | 5515348e3432e5fbb14142afc93918088aff5b07 /include/common | |
parent | Merge common: iofilemgr (diff) | |
download | vds-libraries-c548125a34862ecda4e8a74fc26d22f9972ea91a.tar.gz |
Merge common: dmacmgr
Diffstat (limited to 'include/common')
-rw-r--r-- | include/common/kernel/dmacmgr.h | 33 |
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 */ |