summaryrefslogtreecommitdiff
path: root/target-ppc/machine.c
diff options
context:
space:
mode:
authorMeador Inge <meadori@codesourcery.com>2012-04-10 15:04:23 -0500
committerAndreas Färber <afaerber@suse.de>2012-04-15 18:09:04 +0200
commita5cabbda760c798bb551d53a697058de28fce51c (patch)
tree23ba8a335e464be47e652608146e97d8ab2ce3d7 /target-ppc/machine.c
parent5724753e6576fc26ff4a563a6c2ccb8ce3b02cb8 (diff)
downloadqemu-a5cabbda760c798bb551d53a697058de28fce51c.tar.gz
target-ppc: Init dcache and icache size for e500 user mode
commit f7aa558396dd0f6b7a2b22c05cb503c655854102 pulled the dcache and icache line size initialization inside of a '#if !defined(CONFIG_USER_ONLY)' block. This is not correct because instructions like 'dcbz' need the dcache size initialized even for user mode. Signed-off-by: Meador Inge <meadori@codesourcery.com> Cc: Varun Sethi <Varun.Sethi@freescale.com> [AF: Simplify #ifdefs by using cache line size 32 for *-user as before] Suggested-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-ppc/machine.c')
0 files changed, 0 insertions, 0 deletions