qemu-e2k/target-ppc
Baojun Wang f407823616 target-ppc: enable PPC_MFTB for 44x
According to PPC440 user manual, PPC 440 supports ``mftb'' even it's a
preserved instruction:

PPC440_UM2013.pdf, p.445, table A-3

when I compile a kernel (2.6.30, bamboo_defconfig/440EP &
canyonlands/460EX), I can see ``mftb'' by using ppc-xxx-objdump
vmlinux

I have also checked the ppc 440x[456], 460S, 464, they also should support mftb.

The following patch enable mftb for all ppc 440 variants, including:
440EP, 440GP, 440x4, 440x5 and 460

Signed-off-by: Baojun Wang <wangbj@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2009-07-13 01:58:12 +02:00
..
STATUS Update PowerPC emulation status file. 2007-10-25 21:38:16 +00:00
cpu.h Hardware convenience library 2009-05-19 16:17:58 +01:00
exec.h qemu: per-arch cpu_has_work (Marcelo Tosatti) 2009-04-24 18:03:20 +00:00
helper.c Include assert.h from qemu-common.h 2009-05-13 20:54:26 +01:00
helper.h target-ppc: mark a few helpers TCG_CALL_CONST and/or TCG_CALL_PURE 2009-04-16 12:57:58 +00:00
helper_regs.h Update FSF address in GPL/LGPL boilerplate 2009-01-04 22:05:52 +00:00
kvm.c target-ppc: Enable KVM for ppcemb. 2008-12-16 10:43:58 +00:00
kvm_ppc.c targets: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:11 +00:00
kvm_ppc.h kvm/powerpc: extern one function for MPC85xx code use 2009-01-24 16:35:56 +00:00
machine.c kvm: Add missing bits to support live migration 2009-05-22 10:50:33 -05:00
mfrom_table.c find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
mfrom_table_gen.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
op_helper.c Fix mingw32 build warnings 2009-06-13 08:44:31 +00:00
translate.c ppc tcg: fix wrong bit/mask of wrteei 2009-07-13 01:51:17 +02:00
translate_init.c target-ppc: enable PPC_MFTB for 44x 2009-07-13 01:58:12 +02:00