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