3 #ifndef __COMMON_ALLOC_H
4 #define __COMMON_ALLOC_H
8 void *MyAlloc(size_t size
);
9 void MyFree(void *address
);
13 void SetLargePageSize();
15 void *MidAlloc(size_t size
);
16 void MidFree(void *address
);
17 void *BigAlloc(size_t size
);
18 void BigFree(void *address
);
22 #define MidAlloc(size) MyAlloc(size)
23 #define MidFree(address) MyFree(address)
24 #define BigAlloc(size) MyAlloc(size)
25 #define BigFree(address) MyFree(address)