diff options
author | Blue Swirl | 2011-07-04 22:57:05 +0200 |
---|---|---|
committer | Blue Swirl | 2011-10-01 11:31:26 +0200 |
commit | bccd9ec5f098668576342c83d90d6d6833d61d33 (patch) | |
tree | fa1cc26e01bd423b626d28c9cd9c9a6a286337dd /exec-all.h | |
parent | Document softmmu templates (diff) | |
download | qemu-bccd9ec5f098668576342c83d90d6d6833d61d33.tar.gz qemu-bccd9ec5f098668576342c83d90d6d6833d61d33.tar.xz qemu-bccd9ec5f098668576342c83d90d6d6833d61d33.zip |
softmmu_header: pass CPUState to tlb_fill
Pass CPUState pointer to tlb_fill() instead of architecture local
cpu_single_env hacks.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'exec-all.h')
-rw-r--r-- | exec-all.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exec-all.h b/exec-all.h index 9b8d62c239..b1dfe109d2 100644 --- a/exec-all.h +++ b/exec-all.h @@ -273,7 +273,7 @@ extern CPUWriteMemoryFunc *io_mem_write[IO_MEM_NB_ENTRIES][4]; extern CPUReadMemoryFunc *io_mem_read[IO_MEM_NB_ENTRIES][4]; extern void *io_mem_opaque[IO_MEM_NB_ENTRIES]; -void tlb_fill(target_ulong addr, int is_write, int mmu_idx, +void tlb_fill(CPUState *env1, target_ulong addr, int is_write, int mmu_idx, void *retaddr); #include "softmmu_defs.h" |