mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 01:37:44 +00:00
hv: Change the struct cpu_gp_regs name to acrn_gp_regs
We will define the hypercall to set acrn vcpu registers and move this struct to acrn_commmon.h for reference from hypercall parameter definition. Tracked-On: #1231 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
This commit is contained in:
@@ -52,8 +52,8 @@ int uefi_sw_loader(struct vm *vm, struct vcpu *vcpu)
|
||||
vlapic_restore(vcpu_vlapic(vcpu), &uefi_lapic_regs);
|
||||
|
||||
vcpu->entry_addr = (void *)efi_ctx->rip;
|
||||
memcpy_s(&cur_context->guest_cpu_regs, sizeof(struct cpu_gp_regs),
|
||||
&efi_ctx->gprs, sizeof(struct cpu_gp_regs));
|
||||
memcpy_s(&cur_context->guest_cpu_regs, sizeof(struct acrn_gp_regs),
|
||||
&efi_ctx->gprs, sizeof(struct acrn_gp_regs));
|
||||
|
||||
/* defer irq enabling till vlapic is ready */
|
||||
CPU_IRQ_ENABLE();
|
||||
|
Reference in New Issue
Block a user