minimal cleanups
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20901 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -5,7 +5,6 @@
|
|||||||
* Authors:
|
* Authors:
|
||||||
* Hugo Santos, [email protected]
|
* Hugo Santos, [email protected]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SLAB_BASE_SLAB_H_
|
#ifndef _SLAB_BASE_SLAB_H_
|
||||||
#define _SLAB_BASE_SLAB_H_
|
#define _SLAB_BASE_SLAB_H_
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
* Authors:
|
* Authors:
|
||||||
* Hugo Santos, [email protected]
|
* Hugo Santos, [email protected]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SLAB_DEPOT_H_
|
#ifndef _SLAB_DEPOT_H_
|
||||||
#define _SLAB_DEPOT_H_
|
#define _SLAB_DEPOT_H_
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
* Authors:
|
* Authors:
|
||||||
* Hugo Santos, [email protected]
|
* Hugo Santos, [email protected]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SLAB_SLAB_H_
|
#ifndef _SLAB_SLAB_H_
|
||||||
#define _SLAB_SLAB_H_
|
#define _SLAB_SLAB_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1152,7 +1152,7 @@ dump_cache_info(int argc, char *argv[])
|
|||||||
object_cache *cache = (object_cache *)strtoul(argv[1], NULL, 16);
|
object_cache *cache = (object_cache *)strtoul(argv[1], NULL, 16);
|
||||||
|
|
||||||
kprintf("name: %s\n", cache->name);
|
kprintf("name: %s\n", cache->name);
|
||||||
kprintf("lock: { count: %i, sem: %ld }\n", cache->lock.count,
|
kprintf("lock: { count: %ld, sem: %ld }\n", cache->lock.count,
|
||||||
cache->lock.sem);
|
cache->lock.sem);
|
||||||
kprintf("object_size: %lu\n", cache->object_size);
|
kprintf("object_size: %lu\n", cache->object_size);
|
||||||
kprintf("cache_color_cycle: %lu\n", cache->cache_color_cycle);
|
kprintf("cache_color_cycle: %lu\n", cache->cache_color_cycle);
|
||||||
|
|||||||
@@ -5,17 +5,15 @@
|
|||||||
* Authors:
|
* Authors:
|
||||||
* Hugo Santos, [email protected]
|
* Hugo Santos, [email protected]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef _SLAB_PRIVATE_H_
|
#ifndef _SLAB_PRIVATE_H_
|
||||||
#define _SLAB_PRIVATE_H_
|
#define _SLAB_PRIVATE_H_
|
||||||
|
|
||||||
extern "C" {
|
#include <stddef.h>
|
||||||
|
|
||||||
void *block_alloc(size_t size);
|
void *block_alloc(size_t size);
|
||||||
void block_free(void *block);
|
void block_free(void *block);
|
||||||
void block_allocator_init_boot();
|
void block_allocator_init_boot();
|
||||||
void block_allocator_init_rest();
|
void block_allocator_init_rest();
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user