mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 23:24:56 +00:00
hv: modularization: avoid dependency of multiboot on zeropage.h.
Split off definition of "struct efi_info" into a separate header file lib/efi.h. Tracked-On: #5661 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
21
hypervisor/include/lib/efi.h
Normal file
21
hypervisor/include/lib/efi.h
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Copyright (C) 2020 Intel Corporation. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#ifndef EFI_H
|
||||
#define EFI_H
|
||||
|
||||
struct efi_info {
|
||||
uint32_t efi_loader_signature; /* 0x1c0 */
|
||||
uint32_t efi_systab; /* 0x1c4 */
|
||||
uint32_t efi_memdesc_size; /* 0x1c8 */
|
||||
uint32_t efi_memdesc_version; /* 0x1cc */
|
||||
uint32_t efi_memmap; /* 0x1d0 */
|
||||
uint32_t efi_memmap_size; /* 0x1d4 */
|
||||
uint32_t efi_systab_hi; /* 0x1d8 */
|
||||
uint32_t efi_memmap_hi; /* 0x1dc */
|
||||
} __packed;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user