This is a very simple allocator for the PC platform. It should be possible to add backends for other platforms. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-id: 1366123521-4330-5-git-send-email-aliguori@us.ibm.com
		
			
				
	
	
		
			21 lines
		
	
	
		
			397 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			397 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * libqos malloc support for PC
 | 
						|
 *
 | 
						|
 * Copyright IBM, Corp. 2012-2013
 | 
						|
 *
 | 
						|
 * Authors:
 | 
						|
 *  Anthony Liguori   <aliguori@us.ibm.com>
 | 
						|
 *
 | 
						|
 * This work is licensed under the terms of the GNU GPL, version 2 or later.
 | 
						|
 * See the COPYING file in the top-level directory.
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef LIBQOS_MALLOC_PC_H
 | 
						|
#define LIBQOS_MALLOC_PC_H
 | 
						|
 | 
						|
#include "libqos/malloc.h"
 | 
						|
 | 
						|
QGuestAllocator *pc_alloc_init(void);
 | 
						|
 | 
						|
#endif
 |