mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 15:45:05 +00:00
rename function & definition from firmware to guest boot
The interface struct & API changes like below: struct uefi_context->struct depri_boot_context init_firmware_operations()->init_vboot_operations() init_firmware()->init_vboot() firmware_init_irq()->init_vboot_irq() firmware_get_rsdp()->get_rsdp_ptr() firmware_get_ap_trampoline()->get_ap_trampoline_buf() firmware_init_vm_boot_info()->init_vm_boot_info() Tracked-On: #1842 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
Eddie Dong
parent
20f97f7559
commit
41ac9e5d10
@@ -3,22 +3,22 @@
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
#ifndef FIRMWARE_UEFI_H
|
||||
#ifndef DEPRIVILEGE_BOOT_H
|
||||
|
||||
#define FIRMWARE_UEFI_H
|
||||
#define DEPRIVILEGE_BOOT_H
|
||||
|
||||
#include <vboot.h>
|
||||
|
||||
struct uefi_context {
|
||||
struct depri_boot_context {
|
||||
struct acrn_vcpu_regs vcpu_regs;
|
||||
void *rsdp;
|
||||
void *ap_trampoline_buf;
|
||||
} __packed;
|
||||
|
||||
const struct uefi_context *get_uefi_ctx(void);
|
||||
const struct lapic_regs *get_uefi_lapic_regs(void);
|
||||
const struct depri_boot_context *get_depri_boot_ctx(void);
|
||||
const struct lapic_regs *get_depri_boot_lapic_regs(void);
|
||||
|
||||
struct firmware_operations* uefi_get_firmware_operations(void);
|
||||
int32_t uefi_init_vm_boot_info(__unused struct acrn_vm *vm);
|
||||
struct vboot_operations* get_deprivilege_boot_ops(void);
|
||||
int32_t init_depri_vboot_info(__unused struct acrn_vm *vm);
|
||||
|
||||
#endif /* end of include guard: FIRMWARE_UEFI_H */
|
||||
#endif /* end of include guard: DEPRIVILEGE_BOOT_H */
|
||||
|
||||
Reference in New Issue
Block a user