1 /******************************************************************************
2  * Copyright (c) 2007, 2012, 2013 IBM Corporation
3  * All rights reserved.
4  * This program and the accompanying materials
5  * are made available under the terms of the BSD License
6  * which accompanies this distribution, and is available at
7  * http://www.opensource.org/licenses/bsd-license.php
8  *
9  * Contributors:
10  *     IBM Corporation - initial implementation
11  *****************************************************************************/
12 
13 #ifndef _ALLOCATOR_H
14 #define _ALLOCATOR_H
15 
16 extern void SLOF_bm_print(unsigned long handle);
17 extern unsigned long SLOF_bm_allocator_init(unsigned long start,
18 					unsigned long size,
19 					unsigned long blocksize);
20 extern unsigned long SLOF_bm_alloc(unsigned long handle, unsigned long size);
21 extern void SLOF_bm_free(unsigned long handle, unsigned long ptr, unsigned long size);
22 
23 #endif /* _ALLOCATOR_H */
24