mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-12-31 12:47:32 +00:00
Add DMAC definitions
This commit is contained in:
24
src/dmac/pspdmac.h
Normal file
24
src/dmac/pspdmac.h
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* PSP Software Development Kit - http://www.pspdev.org
|
||||
* -----------------------------------------------------------------------
|
||||
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
|
||||
*
|
||||
* dmac.c - A DMAC function
|
||||
*
|
||||
* Copyright (c) 2016 173210 <root.3.173210@live.com>
|
||||
*/
|
||||
|
||||
#include <psptypes.h>
|
||||
|
||||
/**
|
||||
* Copy data in memory using DMAC
|
||||
*
|
||||
* @param dst - The pointer to the destination
|
||||
* @param src - The pointer to the source
|
||||
* @param n - The size of data
|
||||
*
|
||||
* @return 0 on success; otherwise an error code
|
||||
*/
|
||||
int sceDmacMemcpy(void *dst, const void *src, SceSize n);
|
||||
|
||||
int sceDmacTryMemcpy(void *dst, const void *src, SceSize n);
|
||||
Reference in New Issue
Block a user