Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison vmalloc.h @ 206:a262abf4b8d5
brch file for new WestmereEx 4x10 HW Branch
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Fri, 17 Feb 2012 18:43:52 +0100 |
| parents | 9b2b9bc2c362 |
| children |
comparison
equal
deleted
inserted
replaced
| 12:f1d0e9e10f7b | 22:00136b42f856 |
|---|---|
| 50 MallocProlog *firstChunkInFreeList; | 50 MallocProlog *firstChunkInFreeList; |
| 51 int32 numInList; //TODO not used | 51 int32 numInList; //TODO not used |
| 52 } | 52 } |
| 53 FreeListHead; | 53 FreeListHead; |
| 54 | 54 |
| 55 void * | 55 //comply with interface of HW__generic_x86_64_MC branch |
| 56 VMS__malloc( size_t sizeRequested ); | 56 #define VMS_WL__malloc VMS_int__malloc |
| 57 #define VMS_WL__malloc_aligned VMS_int__malloc_aligned | |
| 58 #define VMS_WL__free VMS_int__free | |
| 57 | 59 |
| 58 void * | 60 void * |
| 59 VMS__malloc_aligned( size_t sizeRequested ); | 61 VMS_int__malloc( size_t sizeRequested ); |
| 62 | |
| 63 void * | |
| 64 VMS_int__malloc_aligned( size_t sizeRequested ); | |
| 60 | 65 |
| 61 void | 66 void |
| 62 VMS__free( void *ptrToFree ); | 67 VMS_int__free( void *ptrToFree ); |
| 63 | 68 |
| 64 /*Allocates memory from the external system -- higher overhead | 69 /*Allocates memory from the external system -- higher overhead |
| 65 */ | 70 */ |
| 66 void * | 71 void * |
| 67 VMS__malloc_in_ext( size_t sizeRequested ); | 72 VMS_int__malloc_in_ext( size_t sizeRequested ); |
| 68 | 73 |
| 69 /*Frees memory that was allocated in the external system -- higher overhead | 74 /*Frees memory that was allocated in the external system -- higher overhead |
| 70 */ | 75 */ |
| 71 void | 76 void |
| 72 VMS__free_in_ext( void *ptrToFree ); | 77 VMS_int__free_in_ext( void *ptrToFree ); |
| 73 | 78 |
| 74 | 79 |
| 75 MallocArrays * | 80 MallocArrays * |
| 76 VMS_ext__create_free_list(); | 81 VMS_ext__create_free_list(); |
| 77 | 82 |
