]> git.proxmox.com Git - qemu.git/blobdiff - disas.c
Move tcg_out_tlb_read into #ifdef CONFIG_SOFTMMU block to avoid compiler warning
[qemu.git] / disas.c
diff --git a/disas.c b/disas.c
index ecc15344fb583e4a496550913280554a27c610c1..a8bc8adf2aed35b2f3aac5a9e063db5086eba5ae 100644 (file)
--- a/disas.c
+++ b/disas.c
@@ -279,6 +279,8 @@ void disas(FILE *out, void *code, unsigned long size)
     print_insn = print_insn_m68k;
 #elif defined(__s390__)
     print_insn = print_insn_s390;
+#elif defined(__hppa__)
+    print_insn = print_insn_hppa;
 #else
     fprintf(out, "0x%lx: Asm output not supported on this arch\n",
            (long) code);
@@ -339,11 +341,8 @@ static int monitor_disas_is_physical;
 static CPUState *monitor_disas_env;
 
 static int
-monitor_read_memory (memaddr, myaddr, length, info)
-     bfd_vma memaddr;
-     bfd_byte *myaddr;
-     int length;
-     struct disassemble_info *info;
+monitor_read_memory (bfd_vma memaddr, bfd_byte *myaddr, int length,
+                     struct disassemble_info *info)
 {
     if (monitor_disas_is_physical) {
         cpu_physical_memory_rw(memaddr, myaddr, length, 0);