Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. //
  2.  
  3. struct MemBlock
  4. {
  5.   Dword Size;
  6.   Dword Addr;
  7.   MemBlock *Next;
  8.   MemBlock *Previous;
  9. };
  10.  
  11.  
  12. #define INITIALQUEUESIZE  (32 * 4)
  13.  
  14. #define FALSE   0
  15. #define TRUE    -1
  16.  
  17. #define MB_FREE   0
  18. #define MB_USER   1
  19.  
  20. #define SIZE_ALIGN  4
  21.  
  22.  
  23.  
  24. Byte *allocmem( Dword reqsize );
  25. Dword freemem( void *vaddress );
  26.  
  27.  
  28.  
  29.