mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-07-26 07:17:31 +00:00
Saves physical FDT and do basic sanity checking. Tracked-On: #8838 Signed-off-by: Yifan Liu <yifan1.liu@intel.com> Acked-by: Wang Yu1 <yu1.wang@intel.com>
19 lines
314 B
C
19 lines
314 B
C
/*
|
|
* Copyright (C) 2021 Intel Corporation.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef FDT_API_H
|
|
#define FDT_API_H
|
|
#include <types.h>
|
|
#include <libfdt.h>
|
|
#include <mmu.h>
|
|
|
|
#define MAX_FDT_SIZE (64 * MEM_1K)
|
|
|
|
void init_devtree(uint64_t fdt_paddr);
|
|
uint8_t *get_host_fdt(void);
|
|
|
|
#endif /* FDT_API_H */
|