summaryrefslogtreecommitdiffstats
path: root/qemu/tests/libqos/malloc-pc.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/tests/libqos/malloc-pc.h')
-rw-r--r--qemu/tests/libqos/malloc-pc.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/qemu/tests/libqos/malloc-pc.h b/qemu/tests/libqos/malloc-pc.h
new file mode 100644
index 000000000..86ab9f042
--- /dev/null
+++ b/qemu/tests/libqos/malloc-pc.h
@@ -0,0 +1,22 @@
+/*
+ * 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);
+QGuestAllocator *pc_alloc_init_flags(QAllocOpts flags);
+void pc_alloc_uninit(QGuestAllocator *allocator);
+
+#endif