mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-30 19:15:42 +00:00 
			
		
		
		
	 eb5937bad6
			
		
	
	
		eb5937bad6
		
	
	
	
	
		
			
			qgraph will embed these objects instead of allocating them in a separate object. Expose a new API "generic_alloc_init" and "generic_alloc_destroy" for that, and rename the existing API with s/init/new/ and s/uninit/free/. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
		
			
				
	
	
		
			21 lines
		
	
	
		
			434 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			434 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"
 | |
| 
 | |
| void pc_alloc_init(QGuestAllocator *s, QTestState *qts, QAllocOpts flags);
 | |
| 
 | |
| #endif
 |