mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 01:37:44 +00:00
HV: modularization improve UEFI macro control code
1. in UEFI bsp code, not need UEFI macro; it is controlled in makefile. 2. in vm/acpi/interrupt code, unify the API name for SBL & UEFI. 3. remove unnecessary header including and unused code. Tracked-On: #1842 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#ifndef VM0_BOOT_H
|
||||
#define VM0_BOOT_H
|
||||
|
||||
#ifdef CONFIG_EFI_STUB
|
||||
struct efi_context {
|
||||
struct acrn_vcpu_regs vcpu_regs;
|
||||
void *rsdp;
|
||||
void *ap_trampoline_buf;
|
||||
} __packed;
|
||||
|
||||
int32_t efi_boot_init(void);
|
||||
#endif
|
||||
|
||||
#endif /* VM0_BOOT_H */
|
@@ -7,8 +7,6 @@
|
||||
#ifndef IOAPIC_H
|
||||
#define IOAPIC_H
|
||||
|
||||
#include <bsp_extern.h>
|
||||
|
||||
#define NR_LEGACY_IRQ 16U
|
||||
#define NR_LEGACY_PIN NR_LEGACY_IRQ
|
||||
void ioapic_setup_irqs(void);
|
||||
|
@@ -8,7 +8,6 @@
|
||||
#define PER_CPU_H
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <bsp_extern.h>
|
||||
#include <schedule.h>
|
||||
#include <common/irq.h>
|
||||
#include <arch/x86/irq.h>
|
||||
|
Reference in New Issue
Block a user