summaryrefslogtreecommitdiff
path: root/hax-stub.c
diff options
context:
space:
mode:
authorIgor Mitsyanko <i.mitsyanko@samsung.com>2012-07-12 11:23:04 +0400
committerEvgeny Voevodin <e.voevodin@samsung.com>2012-07-13 09:28:00 +0400
commit2510af61ae674e6b6df7662d5b859b0c97d588f0 (patch)
treefddc40997dd8ae123f8e90234bbc86a5875a1d20 /hax-stub.c
parent05a41aaa61593a6fbc7d6e7ffde2b62b9f1e1d20 (diff)
downloadqemu-2510af61ae674e6b6df7662d5b859b0c97d588f0.tar.gz
qemu-2510af61ae674e6b6df7662d5b859b0c97d588f0.tar.bz2
qemu-2510af61ae674e6b6df7662d5b859b0c97d588f0.zip
mingw: fix HAX-enabled build
HAX-enabled build was broken after merging with upstream master, this commit tries to fix it. Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com> Signed-off-by: Maria Shcherbina <m.shcherbina@samsung.com>
Diffstat (limited to 'hax-stub.c')
-rw-r--r--hax-stub.c51
1 files changed, 51 insertions, 0 deletions
diff --git a/hax-stub.c b/hax-stub.c
new file mode 100644
index 0000000000..9e200a07b2
--- /dev/null
+++ b/hax-stub.c
@@ -0,0 +1,51 @@
+/*
+ * HAX stubs
+ *
+ * Copyright (C) 2012 Samsung Electronics Co Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+#include "hax.h"
+
+int hax_sync_vcpus(void)
+{
+ return 0;
+}
+
+int hax_accel_init(void)
+{
+ return 0;
+}
+
+void hax_disable(int disable)
+{
+ return;
+}
+
+int hax_pre_init(ram_addr_t ram_size)
+{
+ return 0;
+}
+
+int hax_enabled(void)
+{
+ return 0;
+}
+
+void qemu_notify_hax_event(void)
+{
+ return;
+}