qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] QEMU translation flags


From: Xin Tong
Subject: [Qemu-devel] QEMU translation flags
Date: Sat, 9 Jun 2012 05:44:55 -0400

In QEMU x86, TB translation flags are set up when the TB is allocated.
what will happen if the translation flags are modified by one
instruction in the translation block ? will the translation block be
terminated right there.

For example, there is a code32 flag which is set to the value of
(flags >> HF_CS32_SHIFT) &1. The flags is initialized when the TB is
allocated. what if it is modified by one instruction in the
translation block when the translated code is run. At translation
time, there may not be a way to detect this.

Thanks

Xin



reply via email to

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