qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC] support more than 2 execution modes


From: Thiemo Seufer
Subject: Re: [Qemu-devel] [RFC] support more than 2 execution modes
Date: Mon, 26 Mar 2007 09:49:40 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

J. Mayer wrote:
> It appears that some targets may need more than the 2 "standard"
> execution modes.
> For example, PowerPC 64 has 3 execution modes: hypervisor, supervisor
> and problem state.
> Another example is alpha which has 4 execution modes (even if Linux
> seems to use only two of them).
> 
> My proposal is to increase the number of the tlb_tables entries in a way
> that would be selected at compile time in order to keep good
> performances for other emulated targets that do not need this feature.
> 
> You'll find attached a short patch implementing it. With this patch, one
> would just have to properly define CPU_MEM_INDEX and is_user flags for
> those targets.
> 
> Please comment.

Looks good to me, as it will help to implement MIPS supervisor mode
some day. :-)


Thiemo




reply via email to

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