2021-06-09 10:07:09 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2021 Intel Corporation.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef EFI_MMAP_H
|
|
|
|
#define EFI_MMAP_H
|
|
|
|
#include <types.h>
|
|
|
|
|
2021-11-01 11:07:27 +08:00
|
|
|
#define MAX_EFI_MMAP_ENTRIES 350U
|
|
|
|
|
2021-06-09 10:07:09 +08:00
|
|
|
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
|