summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Xiantao <xiantao.zhang@intel.com>2007-12-05 11:30:21 +0800
committerAvi Kivity <avi@qumranet.com>2007-12-11 12:14:57 +0200
commitac97b22e1cb7b1f28c10a01338d95a08b91e04a9 (patch)
treec7d041850fe67d6ee4cf0cc704e8de9cd0ce281a /target-ia64/translate.c
parentAdd firmware build logic support for ia64 platform (diff)
downloadqemu-kvm-ac97b22e1cb7b1f28c10a01338d95a08b91e04a9.tar.gz
qemu-kvm-ac97b22e1cb7b1f28c10a01338d95a08b91e04a9.tar.bz2
qemu-kvm-ac97b22e1cb7b1f28c10a01338d95a08b91e04a9.zip
Add ia64 target
This adds files for a dummy qemu ia64 target. This target is not usable for emulation; only virtualization. Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'target-ia64/translate.c')
-rw-r--r--target-ia64/translate.c39
1 files changed, 39 insertions, 0 deletions
diff --git a/target-ia64/translate.c b/target-ia64/translate.c
new file mode 100644
index 000000000..86f48f50c
--- /dev/null
+++ b/target-ia64/translate.c
@@ -0,0 +1,39 @@
+/*
+ * translation.c : IA64 translation code.
+ * Just put it as blank now, and implement it later.
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+#include <stdarg.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <inttypes.h>
+
+static uint16_t *gen_opc_ptr;
+
+#include "cpu.h"
+#include "exec-all.h"
+#include "disas.h"
+#include "gen-op.h"
+
+int gen_intermediate_code(CPUState *env, TranslationBlock *tb)
+{
+ return 0;
+}
+int gen_intermediate_code_pc(CPUState *env, TranslationBlock *tb)
+{
+ return 0;
+}