Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 8500000

Browse files
ehabkostavikivity
authored andcommitted
---
yaml --- r: 125232 b: refs/heads/linux-bcm43xx-2.6.39 c: eca70fc h: refs/heads/master
1 parent de85e19 commit 8500000

File tree

3 files changed

+16
-13
lines changed

3 files changed

+16
-13
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
22
refs/heads/master: fe8bf45a464d5dc6eea5c7269b35d142bd23be99
3-
refs/heads/linux-bcm43xx-2.6.39: c2cedf7be2017e3264c93a4c0d75b1d96d0d7104
3+
refs/heads/linux-bcm43xx-2.6.39: eca70fc5671b226966dfb7ee9953d59199288566

branches/linux-bcm43xx-2.6.39/arch/x86/include/asm/kvm_host.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -714,18 +714,6 @@ static inline void kvm_inject_gp(struct kvm_vcpu *vcpu, u32 error_code)
714714
kvm_queue_exception_e(vcpu, GP_VECTOR, error_code);
715715
}
716716

717-
#define ASM_VMX_VMCLEAR_RAX ".byte 0x66, 0x0f, 0xc7, 0x30"
718-
#define ASM_VMX_VMLAUNCH ".byte 0x0f, 0x01, 0xc2"
719-
#define ASM_VMX_VMRESUME ".byte 0x0f, 0x01, 0xc3"
720-
#define ASM_VMX_VMPTRLD_RAX ".byte 0x0f, 0xc7, 0x30"
721-
#define ASM_VMX_VMREAD_RDX_RAX ".byte 0x0f, 0x78, 0xd0"
722-
#define ASM_VMX_VMWRITE_RAX_RDX ".byte 0x0f, 0x79, 0xd0"
723-
#define ASM_VMX_VMWRITE_RSP_RDX ".byte 0x0f, 0x79, 0xd4"
724-
#define ASM_VMX_VMXOFF ".byte 0x0f, 0x01, 0xc4"
725-
#define ASM_VMX_VMXON_RAX ".byte 0xf3, 0x0f, 0xc7, 0x30"
726-
#define ASM_VMX_INVEPT ".byte 0x66, 0x0f, 0x38, 0x80, 0x08"
727-
#define ASM_VMX_INVVPID ".byte 0x66, 0x0f, 0x38, 0x81, 0x08"
728-
729717
#define MSR_IA32_TIME_STAMP_COUNTER 0x010
730718

731719
#define TSS_IOPB_BASE_OFFSET 0x66

branches/linux-bcm43xx-2.6.39/arch/x86/include/asm/vmx.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,4 +364,19 @@ enum vmcs_field {
364364

365365
#define VMX_EPT_IDENTITY_PAGETABLE_ADDR 0xfffbc000ul
366366

367+
368+
#define ASM_VMX_VMCLEAR_RAX ".byte 0x66, 0x0f, 0xc7, 0x30"
369+
#define ASM_VMX_VMLAUNCH ".byte 0x0f, 0x01, 0xc2"
370+
#define ASM_VMX_VMRESUME ".byte 0x0f, 0x01, 0xc3"
371+
#define ASM_VMX_VMPTRLD_RAX ".byte 0x0f, 0xc7, 0x30"
372+
#define ASM_VMX_VMREAD_RDX_RAX ".byte 0x0f, 0x78, 0xd0"
373+
#define ASM_VMX_VMWRITE_RAX_RDX ".byte 0x0f, 0x79, 0xd0"
374+
#define ASM_VMX_VMWRITE_RSP_RDX ".byte 0x0f, 0x79, 0xd4"
375+
#define ASM_VMX_VMXOFF ".byte 0x0f, 0x01, 0xc4"
376+
#define ASM_VMX_VMXON_RAX ".byte 0xf3, 0x0f, 0xc7, 0x30"
377+
#define ASM_VMX_INVEPT ".byte 0x66, 0x0f, 0x38, 0x80, 0x08"
378+
#define ASM_VMX_INVVPID ".byte 0x66, 0x0f, 0x38, 0x81, 0x08"
379+
380+
381+
367382
#endif

0 commit comments

Comments
 (0)