Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1005 | barsuk | 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 |