mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-15 19:33:59 +03:00
c24abef1b6
git-svn-id: svn://kolibrios.org@990 a494cfbc-eb01-0410-851d-a64ba20cac60
29 lines
332 B
C
29 lines
332 B
C
//
|
|
|
|
struct MemBlock
|
|
{
|
|
Dword Size;
|
|
Dword Addr;
|
|
MemBlock *Next;
|
|
MemBlock *Previous;
|
|
};
|
|
|
|
|
|
#define INITIALQUEUESIZE (32 * 4)
|
|
|
|
#define FALSE 0
|
|
#define TRUE -1
|
|
|
|
#define MB_FREE 0
|
|
#define MB_USER 1
|
|
|
|
#define SIZE_ALIGN 4
|
|
|
|
|
|
|
|
Byte *allocmem( Dword reqsize );
|
|
Dword freemem( void *vaddress );
|
|
|
|
|
|
|