]> Git Repo - qemu.git/blob - tests/libqos/malloc-pc.h
Merge remote-tracking branch 'remotes/kraxel/tags/pull-usb-20140910-1' into staging
[qemu.git] / tests / libqos / malloc-pc.h
1 /*
2  * libqos malloc support for PC
3  *
4  * Copyright IBM, Corp. 2012-2013
5  *
6  * Authors:
7  *  Anthony Liguori   <[email protected]>
8  *
9  * This work is licensed under the terms of the GNU GPL, version 2 or later.
10  * See the COPYING file in the top-level directory.
11  */
12
13 #ifndef LIBQOS_MALLOC_PC_H
14 #define LIBQOS_MALLOC_PC_H
15
16 #include "libqos/malloc.h"
17
18 typedef enum {
19     PC_ALLOC_NO_FLAGS    = 0x00,
20     PC_ALLOC_LEAK_WARN   = 0x01,
21     PC_ALLOC_LEAK_ASSERT = 0x02,
22     PC_ALLOC_PARANOID    = 0x04
23 } PCAllocOpts;
24
25 QGuestAllocator *pc_alloc_init(void);
26 QGuestAllocator *pc_alloc_init_flags(PCAllocOpts flags);
27 void             pc_alloc_uninit(QGuestAllocator *allocator);
28
29 #endif
This page took 0.026719 seconds and 4 git commands to generate.