acrn-hypervisor/hypervisor/boot/include/guest/deprivilege_boot.h
Jason Chen CJ 7494ed2775 Clean up MISRA C violation
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>
2019-05-09 16:33:44 +08:00

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 */