summaryrefslogtreecommitdiff
path: root/include/user/kernel/dmac.h
blob: b0fbd2bb671b0c41e9b90bab6439784e4c7ee2cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef _PSP2_DMAC_H_
#define _PSP2_DMAC_H_

#ifdef __cplusplus
extern "C" {
#endif

/***
 * DMA memcpy
 *
 * @param[in] dst - Destination
 * @param[in] src - Source
 * @param[in] size - Size
 *
 * @return dst.
*/
void *sceDmacMemcpy(void *dst, const void *src, size_t size);

/***
 * DMA memset
 *
 * @param[in] dst - Destination
 * @param[in] c - Constant
 * @param[in] size - Size
 *
 * @return dst.
*/
void *sceDmacMemset(void *dst, int c, size_t size);

#ifdef __cplusplus
}
#endif

#endif /* _PSP2_DMAC_H_ */