[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 3/6] backdoor: declare host-side backdoor helpers
From: |
Lluís |
Subject: |
[Qemu-devel] [PATCH v1 3/6] backdoor: declare host-side backdoor helpers |
Date: |
Wed, 03 Nov 2010 20:49:10 +0100 |
User-agent: |
StGit/0.15 |
These helpers must be implemented by the user on "libbackdoor.a".
Signed-off-by: Lluís Vilanova <address@hidden>
---
backdoor/helper.h | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
create mode 100644 backdoor/helper.h
diff --git a/backdoor/helper.h b/backdoor/helper.h
new file mode 100644
index 0000000..d3c19d9
--- /dev/null
+++ b/backdoor/helper.h
@@ -0,0 +1,21 @@
+/*
+ * Helpers for instruction-based backdoor communication.
+ *
+ * Copyright (c) 2010 Lluís Vilanova <address@hidden>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+DEF_HELPER_1(backdoor_i8, void, i32);
+DEF_HELPER_2(backdoor_i8_v32, void, i32, i32);
- [Qemu-devel] [RFC][PATCH v1 0/6] backdoor: instruction-based guest-to-QEMU backdoor communication channel, Lluís, 2010/11/03
- [Qemu-devel] [PATCH v1 1/6] [arm m68k] move helpers.h to helper.h, Lluís, 2010/11/03
- [Qemu-devel] [PATCH v1 2/6] backdoor: handle config-time activation, Lluís, 2010/11/03
- [Qemu-devel] [PATCH v1 3/6] backdoor: declare host-side backdoor helpers,
Lluís <=
- [Qemu-devel] [PATCH v1 4/6] backdoor: declare guest-side interface macros, Lluís, 2010/11/03
- [Qemu-devel] [PATCH v1 5/6] backdoor: [i386] provide and implement intruction-based backdoor interface, Lluís, 2010/11/03
- [Qemu-devel] [PATCH v1 6/6] backdoor: add a simple example, Lluís, 2010/11/03