qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] Choose emulated MIPS CPU at runtime #2


From: Hervé Poussineau
Subject: [Qemu-devel] [PATCH] Choose emulated MIPS CPU at runtime #2
Date: Tue, 6 Mar 2007 19:57:30 +0100

Hi,

This patch uses the new "-cpu" command line option, to choose the CPU model
at runtime.

It takes care of Thiemo's remarks about existing CPU models.
It defaults to MIPS 4KEc in 32bits mode, and R4000 in 64bits mode.

To answer Daniel's concerns, the FPU bit in the CPU structure is set only if
the chosen CPU has a FPU. This thing is only done once per CPU reset (ie
most of the times, once per qemu launch), so it has no runtime cost.

Hervé

Attachment: mips-cpu2.diff
Description: Binary data


reply via email to

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