~vcs-imports/qemu/git

« back to all changes in this revision

Viewing changes to target-arm/cpu.h

  • Committer: Anthony Liguori
  • Author(s): Nathan Froyd
  • Date: 2009-08-24 13:21:42 UTC
  • Revision ID: git-v1:0b5c1ce8467384327b80a55218d3e57f48985990
cleanup cpu-exec.c, part 0/N: consolidate handle_cpu_signal

handle_cpu_signal is very nearly copy-paste code for each target, with a
few minor variations.  This patch sets up appropriate defaults for a
generic handle_cpu_signal and provides overrides for particular targets
that did things differently.  Fixing things like the persistent (XXX:
use sigsetjmp) should now become somewhat easier.

Previous comments on this patch suggest that the "activate soft MMU for
this block" comments refer to defunct functionality.  I have removed
such blocks for the appropriate targets in this patch.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
220
220
                           void *puc);
221
221
int cpu_arm_handle_mmu_fault (CPUARMState *env, target_ulong address, int rw,
222
222
                              int mmu_idx, int is_softmuu);
 
223
#define cpu_handle_mmu_fault cpu_arm_handle_mmu_fault
223
224
 
224
225
void cpu_lock(void);
225
226
void cpu_unlock(void);