mirror of
https://github.com/wiiu-env/libmappedmemory.git
synced 2025-01-09 00:10:41 +01:00
20 lines
361 B
C++
20 lines
361 B
C++
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#include <cstdint>
|
|
|
|
extern void MemoryMappingFree(void* ptr);
|
|
|
|
extern void* MemoryMappingAlloc(uint32_t size, uint32_t align);
|
|
|
|
extern uint32_t MemoryMappingEffectiveToPhysical(uint32_t address);
|
|
|
|
extern uint32_t MemoryMappingPhysicalToEffective(uint32_t address);
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif |