qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 12/17] target-openrisc: Enable m[tf]spr from use


From: Bastian Koppelmann
Subject: Re: [Qemu-devel] [PATCH 12/17] target-openrisc: Enable m[tf]spr from user mode
Date: Tue, 15 Sep 2015 09:22:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0



On 09/14/2015 07:11 PM, Richard Henderson wrote:
On 09/13/2015 01:34 AM, Bastian Koppelmann wrote:
Looking at the article, user mode seems to be optional, so I'm not against it,
but it does look weird. How does ork1sim do it?
It's haphazard.  There are checks for supervisor in the l_mtspr and l_mfspr
insns, but not other uses of the sprs, such as l_rfe.
How about we make the optional user mode a feature bit? This way we are closer to ork1sim, but don't have the problem that testing is hindered.

Cheers,
Bastian



reply via email to

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