mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 15:14:27 +00:00
hv: merge SBL and UEFI related stuff under bsp
This patch unifies the bsp interface between UEFI and SBL. Tracked-On: #2708 Signed-off-by: Tw <wei.tan@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
23
hypervisor/bsp/include/firmware_uefi.h
Normal file
23
hypervisor/bsp/include/firmware_uefi.h
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright (C) 2019 Intel Corporation. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
#ifndef FIRMWARE_UEFI_H
|
||||
|
||||
#define FIRMWARE_UEFI_H
|
||||
|
||||
#include <firmware.h>
|
||||
|
||||
struct uefi_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);
|
||||
|
||||
struct firmware_operations* uefi_get_firmware_operations(void);
|
||||
|
||||
#endif /* end of include guard: FIRMWARE_UEFI_H */
|
||||
Reference in New Issue
Block a user