HV: rename splitlock file name

Because the emulation code is for both split-lock and uc-lock,
rename splitlock.c/splitlock.h to lock_instr_emul.c/lock_instr_emul.h

Tracked-On: #6299
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Tao Yuhong 2021-07-12 10:19:20 -04:00 committed by wenlingz
parent 7926504011
commit 2aba7f31db
5 changed files with 4 additions and 4 deletions

View File

@ -316,7 +316,7 @@ VP_DM_C_SRCS += arch/x86/guest/pm.c
VP_DM_C_SRCS += arch/x86/guest/assign.c VP_DM_C_SRCS += arch/x86/guest/assign.c
VP_DM_C_SRCS += arch/x86/guest/vmx_io.c VP_DM_C_SRCS += arch/x86/guest/vmx_io.c
VP_DM_C_SRCS += arch/x86/guest/instr_emul.c VP_DM_C_SRCS += arch/x86/guest/instr_emul.c
VP_DM_C_SRCS += arch/x86/guest/splitlock.c VP_DM_C_SRCS += arch/x86/guest/lock_instr_emul.c
VP_DM_C_SRCS += arch/x86/guest/vm_reset.c VP_DM_C_SRCS += arch/x86/guest/vm_reset.c
VP_DM_C_SRCS += common/ptdev.c VP_DM_C_SRCS += common/ptdev.c

View File

@ -12,7 +12,7 @@
#include <asm/cpu_caps.h> #include <asm/cpu_caps.h>
#include <logmsg.h> #include <logmsg.h>
#include <errno.h> #include <errno.h>
#include <asm/guest/splitlock.h> #include <asm/guest/lock_instr_emul.h>
static bool is_guest_ac_enabled(struct acrn_vcpu *vcpu) static bool is_guest_ac_enabled(struct acrn_vcpu *vcpu)
{ {

View File

@ -14,7 +14,7 @@
#include <asm/guest/vcpu.h> #include <asm/guest/vcpu.h>
#include <asm/guest/vmcs.h> #include <asm/guest/vmcs.h>
#include <asm/guest/vm.h> #include <asm/guest/vm.h>
#include <asm/guest/splitlock.h> #include <asm/guest/lock_instr_emul.h>
#include <trace.h> #include <trace.h>
#include <logmsg.h> #include <logmsg.h>
#include <asm/irq.h> #include <asm/irq.h>

View File

@ -14,7 +14,7 @@
#include <asm/guest/vmexit.h> #include <asm/guest/vmexit.h>
#include <asm/guest/vm_reset.h> #include <asm/guest/vm_reset.h>
#include <asm/guest/vmx_io.h> #include <asm/guest/vmx_io.h>
#include <asm/guest/splitlock.h> #include <asm/guest/lock_instr_emul.h>
#include <asm/guest/ept.h> #include <asm/guest/ept.h>
#include <asm/guest/vept.h> #include <asm/guest/vept.h>
#include <asm/vtd.h> #include <asm/vtd.h>