2024-05-23 17:19:28 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifndef STUBS_H
|
|
|
|
#define STUBS_H
|
|
|
|
|
2024-08-27 15:51:02 +00:00
|
|
|
#include "export.h"
|
|
|
|
|
2024-08-27 16:03:16 +00:00
|
|
|
struct MEMORY_ALLOC
|
|
|
|
{
|
|
|
|
void* mAddress;
|
2024-08-27 16:15:10 +00:00
|
|
|
u32 mSize;
|
2024-08-27 16:03:16 +00:00
|
|
|
MEMORY_ALLOC* mNext;
|
|
|
|
MEMORY_ALLOC* mPrev;
|
|
|
|
};
|
|
|
|
|
2024-08-27 15:51:02 +00:00
|
|
|
EXPORT i32 syRtcInit(void);
|
2024-08-27 16:03:16 +00:00
|
|
|
EXPORT void removeMemoryAlloc(MEMORY_ALLOC*);
|
2024-08-27 16:06:12 +00:00
|
|
|
EXPORT void syMallocFinish(void);
|
2024-08-27 16:07:56 +00:00
|
|
|
EXPORT void syMallocInit(void);
|
2024-08-27 16:15:10 +00:00
|
|
|
EXPORT void *syMalloc(u32);
|
2024-08-27 16:03:16 +00:00
|
|
|
|
|
|
|
void validate_MEMORY_ALLOC(void);
|
2024-08-27 15:51:02 +00:00
|
|
|
|
|
|
|
#endif
|