mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-05 23:16:59 +00:00
It is used to specify the maximum number of EFI memmap entries. On some platforms, like Tiger Lake, the number of EFI memmap entries becomes 268 when the BIOS settings are changed. The current value of MAX_EFI_MMAP_ENTRIES (256) defined in hypervisor is not big enough to cover such cases. As the number of EFI memmap entries depends on the platforms and the BIOS settings, this patch introduces a new entry MAX_EFI_MMAP_ENTRIES in configurations so that it can be adjusted for different cases. Tracked-On: #6442 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
17 lines
315 B
C
17 lines
315 B
C
/*
|
|
* Copyright (C) 2021 Intel Corporation.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef EFI_MMAP_H
|
|
#define EFI_MMAP_H
|
|
#include <types.h>
|
|
|
|
void init_efi_mmap_entries(struct efi_info *uefi_info);
|
|
|
|
uint32_t get_efi_mmap_entries_count(void);
|
|
const struct efi_memory_desc *get_efi_mmap_entry(void);
|
|
|
|
#endif
|