linux-xiaomi-chiron/drivers/kvm
Laurent Vivier e4e03deda8 KVM: x86 emulator: move all x86_emulate_memop() to a structure
Move all x86_emulate_memop() common variables between decode and execute to a
structure decode_cache.  This will help in later separating decode and
emulate.

            struct decode_cache {
                u8 twobyte;
                u8 b;
                u8 lock_prefix;
                u8 rep_prefix;
                u8 op_bytes;
                u8 ad_bytes;
                struct operand src;
                struct operand dst;
                unsigned long *override_base;
                unsigned int d;
                unsigned long regs[NR_VCPU_REGS];
                unsigned long eip;
                /* modrm */
                u8 modrm;
                u8 modrm_mod;
                u8 modrm_reg;
                u8 modrm_rm;
                u8 use_modrm_ea;
                unsigned long modrm_ea;
                unsigned long modrm_val;
           };

Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>
Signed-off-by: Avi Kivity <avi@qumranet.com>
2008-01-30 17:52:47 +02:00
..
i8259.c KVM: Add get/set irqchip ioctls for in-kernel PIC live migration support 2007-10-13 10:18:25 +02:00
ioapic.c KVM: In-kernel I/O APIC model 2007-10-13 10:18:25 +02:00
irq.c KVM: deliver PIC interrupt only to vcpu0 2007-10-13 10:18:26 +02:00
irq.h KVM: enable in-kernel APIC INIT/SIPI handling 2007-10-13 10:18:26 +02:00
Kconfig Consolidate host virtualization support under Virtualization menu 2007-10-23 15:49:47 +10:00
kvm.h KVM: Refactor hypercall infrastructure (v3) 2008-01-30 17:52:46 +02:00
kvm_main.c KVM: Refactor hypercall infrastructure (v3) 2008-01-30 17:52:46 +02:00
kvm_svm.h KVM: Dynamically allocate vcpus 2007-10-13 10:18:20 +02:00
lapic.c KVM: Improve local apic timer wraparound handling 2007-10-22 12:03:29 +02:00
Makefile KVM: In-kernel I/O APIC model 2007-10-13 10:18:25 +02:00
mmu.c KVM: VMX: Reset mmu context when entering real mode 2007-10-22 12:03:28 +02:00
paging_tmpl.h KVM: Rename kvm_arch_ops to kvm_x86_ops 2007-10-13 10:18:27 +02:00
segment_descriptor.h [PATCH] kvm: userspace interface 2006-12-10 09:57:22 -08:00
svm.c KVM: Refactor hypercall infrastructure (v3) 2008-01-30 17:52:46 +02:00
svm.h KVM: SVM: Reliably detect if SVM was disabled by BIOS 2007-07-16 12:05:49 +03:00
vmx.c KVM: Refactor hypercall infrastructure (v3) 2008-01-30 17:52:46 +02:00
vmx.h KVM: VMX: Use shadow TPR/cr8 for 64-bits guests 2007-10-13 10:18:26 +02:00
x86_emulate.c KVM: x86 emulator: move all x86_emulate_memop() to a structure 2008-01-30 17:52:47 +02:00
x86_emulate.h KVM: x86 emulator: move all x86_emulate_memop() to a structure 2008-01-30 17:52:47 +02:00