qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 14/40] xenner: kernel: Instruction emulator


From: Paolo Bonzini
Subject: [Qemu-devel] Re: [PATCH 14/40] xenner: kernel: Instruction emulator
Date: Mon, 01 Nov 2010 19:46:05 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.4

On 11/01/2010 04:01 PM, Alexander Graf wrote:
+    /* I/O instruction */
+    if (in == 2) {
+        regs->rax |= 0xffffffff;
+    } else if (in == 1) {
+        regs->rax |= (0xffff<<  shift);
+    }

I don't understand this, and also why it's here rather than near case 0xe4/0xe5/0xec/0xed.

Paolo



reply via email to

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