]> Git Repo - qemu.git/commit
target-ppc: mmu_ctx_t should not be a global type
authorDavid Gibson <[email protected]>
Tue, 12 Mar 2013 00:31:17 +0000 (00:31 +0000)
committerAlexander Graf <[email protected]>
Fri, 22 Mar 2013 14:28:48 +0000 (15:28 +0100)
commit5dc68eb0e4e41462bf93cf5c67fe4045571fc7bf
treef812248a1ec119dfc6c219813a65d5aeff6fdcb8
parent9813279664162fa50d6124fe8c5ac4871fa59c13
target-ppc: mmu_ctx_t should not be a global type

mmu_ctx_t is currently defined in cpu.h.  However it is used for temporary
information relating to mmu translation, and is only used in mmu_helper.c
and (now) mmu-hash{32,64}.c.  Furthermore it contains information which
should be specific to particular MMU types.  Therefore, move its definition
to mmu_helper.c.  mmu-hash{32,64}.c are converted to use new data types
private to the relevant MMUs (identical to mmu_ctx_t for now, but that will
change in future patches).

Signed-off-by: David Gibson <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
target-ppc/cpu.h
target-ppc/mmu-hash32.c
target-ppc/mmu-hash64.c
target-ppc/mmu_helper.c
This page took 0.025973 seconds and 4 git commands to generate.