]> git.proxmox.com Git - mirror_qemu.git/commit - target/ppc/translate_init.c.inc
e600 core for MPC86xx processors
authorJulio Guerra <guerr@julio.in>
Mon, 24 Jun 2013 21:15:54 +0000 (23:15 +0200)
committerAlexander Graf <agraf@suse.de>
Thu, 11 Jul 2013 16:51:23 +0000 (18:51 +0200)
commit7162bdea75e9f63afdd2cacfe26ee4b472a59362
tree66141574af3bd2dc642e2c4696c1c1ca28099fe8
parentc170a23ca0097a95b44fc7cc604018cd3c3b7d44
e600 core for MPC86xx processors

MPC86xx processors are based on the e600 core, which is not the case
in qemu where it is based on the 7400 processor.

This patch creates the e600 core and instantiates the MPC86xx
processors based on it. Therefore, adding the high BATs, the SPRG
4..7 registers, which are e600-specific [1], and a HW MMU model (as 7400).
This allows to define the MPC8610 processor too.

Tested with a kernel using the HW TLB misses.

[1] http://cache.freescale.com/files/32bit/doc/ref_manual/E600CORERM.pdf

Signed-off-by: Julio Guerra <guerr@julio.in>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/cpu-models.c
target-ppc/cpu-models.h
target-ppc/translate_init.c