mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-15 11:51:15 +00:00
clean up a few MISRA C violations that can be fixed by code change in vboot files Tracked-On: #861 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
25 lines
596 B
C
25 lines
596 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;
|
|
uint64_t 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 */
|