On Wed, Feb 23, 2011 at 4:05 AM, Jianhui Yue <jianhui....@gmail.com> wrote:
> hi, All,
>       I am wondering how to determine machine's state in user-level
> or kernel level from Operating System perspective.
> what's meaning of CPUState.exception_is_int?  Thanks.

If "kernel level from Operating System perspective" means privileged
then you could look at the current privilege level in a target
architecture-specific way.  So on x86 look at the code segment
selector.

Stefan

Reply via email to