Memory: Properly cleanup & shutdown.

This commit is contained in:
bunnei 2015-04-27 21:59:06 -04:00
parent 28df8dbfeb
commit bbabed8e98
3 changed files with 56 additions and 34 deletions

View file

@ -171,6 +171,12 @@ u32 MapBlock_Heap(u32 size, u32 operation, u32 permissions);
*/
u32 MapBlock_HeapLinear(u32 size, u32 operation, u32 permissions);
/// Initialize mapped memory blocks
void MemBlock_Init();
/// Shutdown mapped memory blocks
void MemBlock_Shutdown();
inline const char* GetCharPointer(const VAddr address) {
return (const char *)GetPointer(address);
}