The oskit_mem COM interface defines an interface for memory allocation and deallocation for oskit libraries. As described above, the C libary malloc routines are implemented in terms of an oskit_mem object that is created when the clientos is initialized. This initial memory object is the lowest level memory allocator that is available to the application. All other memory allocators, such as the malloc library, the memdebug library (see Section 26), and the device memory allocators (see Section 8), are implemented in terms of the oskit_mem object that is created when the clientos is initialized.
The oskit_mem COM interface inherits from IUnknown, and has the following additional methods: