wut/include/coreinit/memory.h

41 lines
527 B
C
Raw Normal View History

2016-07-06 21:48:54 +02:00
#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);
uint32_t
OSEffectiveToPhysical(void *vaddr);
void*
OSAllocFromSystem(uint32_t size,
int align);
void
OSFreeToSystem(void *ptr);
2016-07-06 21:48:54 +02:00
#ifdef __cplusplus
}
#endif
/** @} */