The SGADE Documentation

the SGADE The Socrates Gameboy Advance Development Engine

The SGADE is a development library for the Nintendo Gameboy Advance. It's free for all uses and is distributed without guarantees. For more information visit the SGADE page.


Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

SoMemManager.h File Reference

#include "SoSystem.h"

Go to the source code of this file.

Defines

#define SO_MEM_MANAGER_VERIFY
 Configuration -- If this symbol is defined, the library will verify arguments at RUN TIME.

#define SO_MEM_MANAGER_SINGLE_POOL_BASE
 Configuration - starting address of the managed memory pool.

#define SO_MEM_MANAGER_SINGLE_POOL_SIZE
 Configuration - the size of the managed memory pool in bytes.

#define SO_MEM_MANAGER_BLOCK_BITS
 Configuration - the number of address bits in each allocation block (Allocation block size is equal to 1<<SO_MEM_MANAGER_BLOCK_BITS).


Functions

void SoMemManagerInit (void)
void * SoMemManagerAlloc (u16 iSize)
void SoMemManagerFree (void *pBuf)

Variables

u32 g_u32MemPool []
 The single managed memory pool (must be provided by library user).


Detailed Description

Copyright (C) 2002 by the SGADE authors For conditions of distribution and use, see copyright notice in SoLicense.txt

Author:
Mark T. Price
Date:
Aug 9 2001
See the SoMemManager module for more information.


Copyright 2002 by the SGADE authors. See SoLicense.h or Visit the SGADE page for more information.