Add OSBlockMove and OSBlockSet.

This commit is contained in:
James Benton 2016-07-06 20:48:54 +01:00
parent 1ae09d4cf5
commit 64bb52c552
2 changed files with 34 additions and 0 deletions

30
include/coreinit/memory.h Normal file
View File

@ -0,0 +1,30 @@
#pragma once
#include <wut.h>
/**
* \defgroup coreinit_memory Memory
* \ingroup coreinit
*
* @{
*/
#ifdef __cplusplus
extern "C" {
#endif
void *
OSBlockMove(void *dst,
const void *src,
uint32_t size,
BOOL flush);
void *
OSBlockSet(void *dst,
uint8_t val,
uint32_t size);
#ifdef __cplusplus
}
#endif
/** @} */

View File

@ -180,6 +180,10 @@ EXPORT(MEMGetNextListObject);
EXPORT(MEMGetPrevListObject);
EXPORT(MEMGetNthListObject);
// coreinit/memory.h
EXPORT(OSBlockMove);
EXPORT(OSBlockSet);
// coreinit/messagequeue.h
EXPORT(OSInitMessageQueue);
EXPORT(OSInitMessageQueueEx);