]> git.proxmox.com Git - mirror_qemu.git/commit
PPC: Fix up e500 cache size setting
authorAlexander Graf <agraf@suse.de>
Thu, 19 Apr 2012 13:34:06 +0000 (15:34 +0200)
committerAlexander Graf <agraf@suse.de>
Tue, 1 May 2012 19:47:00 +0000 (21:47 +0200)
commit892c587f22fc97362a595d3c84669a39ce1cd2f5
tree5dc09be005f952f442349994f94b3b651ee4a680
parent58f90f21f4d8e3b105b3e3669334f1b98141075c
PPC: Fix up e500 cache size setting

When initializing the e500 code, we need to expose its
cache line size for user and system mode, while the mmu
details are only interesting for system emulation.

Split the 2 switch statements apart, allowing us to #ifdef
out the mmu parts for user mode emulation while keeping all
cache information consistent.

Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate_init.c