]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Merge remote-tracking branch 'remotes/vivier/tags/m68k-staging-pull-request' into...
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 17 May 2019 09:28:23 +0000 (10:28 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 17 May 2019 09:28:23 +0000 (10:28 +0100)
code cleanup, switch to transaction_failed hook

# gpg: Signature made Thu 16 May 2019 23:33:00 BST
# gpg:                using RSA key F30C38BD3F2FBE3C
# gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
# gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
# gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" [full]
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C

* remotes/vivier/tags/m68k-staging-pull-request:
  target/m68k: Optimize rotate_x() using extract_i32()
  target/m68k: Fix a tcg_temp leak
  target/m68k: Reduce the l1 TCGLabel scope
  target/m68k: Switch to transaction_failed hook
  target/m68k: In get_physical_address() check for memory access failures
  target/m68k: In dump_address_map() check for memory access failures

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
# Conflicts:
# target/m68k/cpu.h

1  2 
target/m68k/cpu.c
target/m68k/cpu.h
target/m68k/helper.c
target/m68k/op_helper.c

index 6f441bc973f67e516ee0de699e3024d58c3610f8,6d09c630b0ed579e407eaf51c475f54bfaed2cbc..b16957934ac49a0942a7f113abbe4ad39439a039
@@@ -269,9 -269,9 +269,9 @@@ static void m68k_cpu_class_init(ObjectC
      cc->set_pc = m68k_cpu_set_pc;
      cc->gdb_read_register = m68k_cpu_gdb_read_register;
      cc->gdb_write_register = m68k_cpu_gdb_write_register;
 -    cc->handle_mmu_fault = m68k_cpu_handle_mmu_fault;
 +    cc->tlb_fill = m68k_cpu_tlb_fill;
  #if defined(CONFIG_SOFTMMU)
-     cc->do_unassigned_access = m68k_cpu_unassigned_access;
+     cc->do_transaction_failed = m68k_cpu_transaction_failed;
      cc->get_phys_page_debug = m68k_cpu_get_phys_page_debug;
  #endif
      cc->disas_set_info = m68k_cpu_disas_set_info;
index 683d3e2f79e214b5cf6d9092f66e0f7e9c040347,6039b47d0c4731525aa513695bc52b9d915cb867..9deff9e23411708db61c45009b78b2c80738c8c2
@@@ -542,12 -542,12 +542,13 @@@ static inline int cpu_mmu_index (CPUM68
      return (env->sr & SR_S) == 0 ? 1 : 0;
  }
  
 -int m68k_cpu_handle_mmu_fault(CPUState *cpu, vaddr address, int size, int rw,
 -                              int mmu_idx);
 +bool m68k_cpu_tlb_fill(CPUState *cs, vaddr address, int size,
 +                       MMUAccessType access_type, int mmu_idx,
 +                       bool probe, uintptr_t retaddr);
- void m68k_cpu_unassigned_access(CPUState *cs, hwaddr addr,
-                                 bool is_write, bool is_exec, int is_asi,
-                                 unsigned size);
+ void m68k_cpu_transaction_failed(CPUState *cs, hwaddr physaddr, vaddr addr,
+                                  unsigned size, MMUAccessType access_type,
+                                  int mmu_idx, MemTxAttrs attrs,
+                                  MemTxResult response, uintptr_t retaddr);
  
  #include "exec/cpu-all.h"
  
Simple merge
Simple merge