/* * Copyright (c) 2021, Andrew Kaster * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace DeviceTree { enum class Verbose { No, Yes }; bool validate_flattened_device_tree(FlattenedDeviceTreeHeader const& header, u8 const* blob_start, size_t blob_size, Verbose = Verbose::No); bool dump(FlattenedDeviceTreeHeader const& header, u8 const* blob_start, size_t blob_size); }