mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-08 08:26:55 +00:00
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>
25 lines
593 B
C
25 lines
593 B
C
/*
|
|
* Copyright (C) 2019 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
#ifndef DEPRIVILEGE_BOOT_H
|
|
|
|
#define DEPRIVILEGE_BOOT_H
|
|
|
|
#include <vboot.h>
|
|
|
|
struct depri_boot_context {
|
|
struct acrn_vcpu_regs vcpu_regs;
|
|
void *rsdp;
|
|
void *ap_trampoline_buf;
|
|
} __packed;
|
|
|
|
const struct depri_boot_context *get_depri_boot_ctx(void);
|
|
const struct lapic_regs *get_depri_boot_lapic_regs(void);
|
|
|
|
struct vboot_operations* get_deprivilege_boot_ops(void);
|
|
int32_t init_depri_vboot_info(__unused struct acrn_vm *vm);
|
|
|
|
#endif /* end of include guard: DEPRIVILEGE_BOOT_H */
|