mirror of
https://github.com/wiiu-env/libmappedmemory.git
synced 2024-12-23 00:21:51 +01:00
21 lines
522 B
C++
21 lines
522 B
C++
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#include <cstdint>
|
|
|
|
extern uint32_t MemoryMappingEffectiveToPhysical(uint32_t address);
|
|
|
|
extern uint32_t MemoryMappingPhysicalToEffective(uint32_t address);
|
|
|
|
extern void *(*MEMAllocFromMappedMemory)(uint32_t size);
|
|
extern void *(*MEMAllocFromMappedMemoryEx)(uint32_t size, int32_t alignment);
|
|
extern void *(*MEMAllocFromMappedMemoryForGX2Ex)(uint32_t size, int32_t alignment);
|
|
extern void (*MEMFreeToMappedMemory)(void *ptr);
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif |