First step into a new block allocation strategy for the block_cache

(right now, it's still malloc/free, just encapsulated in an allocator class).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12662 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-05-13 18:18:28 +00:00
parent 1db49f8a7a
commit d5b04e50f8
6 changed files with 226 additions and 22 deletions
+22
View File
@@ -0,0 +1,22 @@
/*
* Copyright 2005, Axel Dörfler, [email protected].
* Distributed under the terms of the MIT License.
*/
#ifndef _KERNEL_BLOCK_CACHE_H
#define _KERNEL_BLOCK_CACHE_H
#include <SupportDefs.h>
#ifdef __cplusplus
extern "C" {
#endif
extern status_t block_cache_init(void);
#ifdef __cplusplus
}
#endif
#endif /* _KRENEL_BLOCK_CACHE_H */