2020-05-29 19:51:56 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2022-02-11 20:43:38 +01:00
|
|
|
extern "C" {
|
2020-05-29 19:51:56 +02:00
|
|
|
#endif
|
|
|
|
|
2021-04-03 23:23:43 +02:00
|
|
|
#include <stdint.h>
|
2020-05-29 19:51:56 +02:00
|
|
|
|
|
|
|
extern uint32_t MemoryMappingEffectiveToPhysical(uint32_t address);
|
|
|
|
|
|
|
|
extern uint32_t MemoryMappingPhysicalToEffective(uint32_t address);
|
|
|
|
|
2020-06-10 15:33:15 +02:00
|
|
|
extern void *(*MEMAllocFromMappedMemory)(uint32_t size);
|
|
|
|
extern void *(*MEMAllocFromMappedMemoryEx)(uint32_t size, int32_t alignment);
|
2020-06-26 20:33:52 +02:00
|
|
|
extern void *(*MEMAllocFromMappedMemoryForGX2Ex)(uint32_t size, int32_t alignment);
|
2020-06-10 15:33:15 +02:00
|
|
|
extern void (*MEMFreeToMappedMemory)(void *ptr);
|
|
|
|
|
2020-05-29 19:51:56 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} // extern "C"
|
|
|
|
#endif
|