mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 01:37:44 +00:00
Fix compiler warnings when building for UEFI
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
This commit is contained in:
@@ -244,7 +244,7 @@ load_sos_image(EFI_HANDLE image, CHAR16 *name, CHAR16 *cmdline)
|
||||
struct multiboot_mmap *mmap;
|
||||
struct multiboot_info *mbi;
|
||||
|
||||
struct acpi_table_rsdp *rsdp;
|
||||
struct acpi_table_rsdp *rsdp = NULL;
|
||||
int i, j;
|
||||
|
||||
|
||||
|
@@ -136,8 +136,8 @@ int uefi_sw_loader(struct vm *vm, struct vcpu *vcpu)
|
||||
vlapic_restore(vcpu->arch_vcpu.vlapic, &uefi_lapic_regs);
|
||||
|
||||
vcpu->entry_addr = efi_ctx->entry;
|
||||
cur_context->guest_cpu_regs.regs.rcx = efi_ctx->handle;
|
||||
cur_context->guest_cpu_regs.regs.rdx = efi_ctx->table;
|
||||
cur_context->guest_cpu_regs.regs.rcx = (uint64_t) efi_ctx->handle;
|
||||
cur_context->guest_cpu_regs.regs.rdx = (uint64_t) efi_ctx->table;
|
||||
|
||||
/* defer irq enabling till vlapic is ready */
|
||||
CPU_IRQ_ENABLE();
|
||||
|
Reference in New Issue
Block a user