qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 15/35] tcg-s390: Query instruction extensions th


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 15/35] tcg-s390: Query instruction extensions that are installed.
Date: Fri, 11 Jun 2010 06:07:52 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Thunderbird/3.0.4

On 06/11/2010 01:06 AM, Aurelien Jarno wrote:
> What's the difference between FACILITY_ZARCH and FACILITY_ZARCH_ACTIVE,
> as both are actually flagged together. My guess is that
> FACILITY_ZARCH_ACTIVE is needed in 64-bit mode, why FACILITY_ZARCH is
> only needed for a possible future 32-bit mode. Is it correct?

Loosely,

ZARCH is set when the system is 64-bit capable, whether or not it is active.
The OS would check this bit at startup if it wanted to change modes.  This
bit isn't really interesting to us in userspace.

ZARCH_ACTIVE is set when the system is in 64-bit mode, i.e. you've booted
with a 64-bit kernel.  Note that this says nothing about the address 
decoding mode -- this bit can be set while the PSW is set for 31-bit
address translation, e.g. running a 32-bit program on a 64-bit kernel.


r~



reply via email to

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