]> git.proxmox.com Git - qemu.git/commit
target-cris: Introduce CRISCPU subclasses
authorAndreas Färber <afaerber@suse.de>
Wed, 6 Feb 2013 16:18:12 +0000 (17:18 +0100)
committerAndreas Färber <afaerber@suse.de>
Sat, 16 Feb 2013 13:50:59 +0000 (14:50 +0100)
commit6ae064fc671f1c475b1371c067fa3100ec6daf80
treec59c99d795dbe712de6a9e5cdb4f1b00079bf699
parentcb3fb38e91caacfcb0f86e8c587ed74ffa34fe8e
target-cris: Introduce CRISCPU subclasses

Use class_init functions to initialize the VR in preparation for
overriding v32+ behavior there.

Move cpu_cris_init() to cpu.c and hook up a class_by_name callback.

This change leads to unknown -cpu model names no longer falling back
to a CPU with VR 32 but instead returning NULL.

Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
target-cris/cpu-qom.h
target-cris/cpu.c
target-cris/translate.c