blob: 069ca6a8181501ee0d5c2ed5ce62108dc0701a96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* Copyright (c) 2021, Andrew Kaster <akaster@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibDeviceTree/FlattenedDeviceTree.h>
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);
}
|