HV: Revert "HV: remove efi support for SOS"

This reverts commit ce9d5e8779.

Before readiness of better solution to fix SOS VM e820 and efi memmap mismatch
issue, revert this patch.

Tracked-On: #5626

Signed-off-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
Victor Sun
2021-03-14 22:13:47 +08:00
committed by wenlingz
parent 95f38ac12e
commit 8483c8c8f7
14 changed files with 114 additions and 54 deletions

View File

@@ -7,13 +7,14 @@
#ifndef ZEROPAGE_H
#define ZEROPAGE_H
#include <e820.h>
#include <efi.h>
struct zero_page {
uint8_t pad0[0x70]; /* 0x000 */
uint8_t pad0[0x1c0]; /* 0x000 */
uint64_t acpi_rsdp_addr; /* 0x070 */
struct efi_info boot_efi_info;
uint8_t pad1[0x170]; /* 0x78 */
uint8_t pad1[0x8]; /* 0x1e0 */
uint8_t e820_nentries; /* 0x1e8 */
uint8_t pad2[0x8]; /* 0x1e9 */