Files
acrn-hypervisor/hypervisor/include/common/fdt_api.h
Yifan Liu a82c08849e hv: fdt: Save and sanity check fdt
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>
2025-11-04 10:59:30 +08:00

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 */