monitor.c: Add support for Android console
Implement the Android console by hijacking the stock QEMU
monitor and implementing a different command set.
This commit provides the initial minimal framework and
changes to the core monitor code; it implements only the
two commands 'help' and 'kill'.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
diff --git a/android-console.h b/android-console.h
new file mode 100644
index 0000000..7aa1834
--- /dev/null
+++ b/android-console.h
@@ -0,0 +1,26 @@
+/* Android console interface
+ *
+ * Copyright (c) 2014 Linaro Limited
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2 or later, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope 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/>.
+ *
+ */
+
+#ifndef ANDROID_CONSOLE_H
+#define ANDROID_CONSOLE_H
+
+#include "qemu-common.h"
+
+void android_console_kill(Monitor *mon, const QDict *qdict);
+
+#endif