qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] RFC: avoid #ifdef for target cpu list


From: J. Mayer
Subject: [Qemu-devel] RFC: avoid #ifdef for target cpu list
Date: Wed, 10 Oct 2007 07:14:22 +0200

This tiny patch unifies the -cpu ? option for all cpu that actually can
handle it.
It changes the arm_cpu_list to use the same prototype as ppc, mips and
sparc and add a new define cpu_list in target_xxx/cpu.h
As the cpu selection is not implemented for all targets, I had to
protect the call to cpu_list with a #if defined(cpu_list) that will have
to be suppressed once all target will implement this feature.

Please comment.

-- 
J. Mayer <address@hidden>
Never organized

Attachment: qemu_cpu_list.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]