hv: remove unused de-privilege and vboot wrapper code

Remove deprivilege_boot.c, direct_boot.c, vboot_wrapper.c and their
header fioles.

Tracked-On: #5197
Signed-off-by: Zide Chen <zide.chen@intel.com>
This commit is contained in:
Zide Chen
2020-08-23 21:09:51 -07:00
committed by wenlingz
parent bebffb29fc
commit 6a0a3233c3
7 changed files with 0 additions and 292 deletions

View File

@@ -1,23 +0,0 @@
/*
* 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);
#endif /* end of include guard: DEPRIVILEGE_BOOT_H */

View File

@@ -1,15 +0,0 @@
/*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef DIRECT_BOOT_H
#define DIRECT_BOOT_H
#include <vboot.h>
struct vboot_operations* get_direct_boot_ops(void);
#endif /* end of include guard: DIRECT_BOOT_H */

View File

@@ -1,30 +0,0 @@
/*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef VBOOT_H
#define VBOOT_H
enum vboot_mode {
DIRECT_BOOT_MODE,
DEPRI_BOOT_MODE
};
struct vboot_operations {
void (*init)(void);
uint64_t (*get_ap_trampoline)(void);
const void *(*get_rsdp)(void);
void (*init_irq)(void);
};
void init_vboot(void);
void init_vboot_irq(void);
uint64_t get_ap_trampoline_buf(void);
const void *get_rsdp_ptr(void);
enum vboot_mode get_sos_boot_mode(void);
#endif /* end of include guard: VBOOT_H */