xref: /netbsd-src/sys/dev/fdt/fdt_ddb.h (revision a319d981354fb3b19992225d60831cb4b4002029)
1*a319d981Sskrll /*	$NetBSD: fdt_ddb.h,v 1.2 2020/12/11 09:40:28 skrll Exp $	*/
2155f2770Sskrll 
3155f2770Sskrll /*-
4155f2770Sskrll  * Copyright (c) 2020 The NetBSD Foundation, Inc.
5155f2770Sskrll  * All rights reserved.
6155f2770Sskrll  *
7155f2770Sskrll  * This code is derived from software contributed to The NetBSD Foundation
8155f2770Sskrll  * by Nick Hudson
9155f2770Sskrll  *
10155f2770Sskrll  * Redistribution and use in source and binary forms, with or without
11155f2770Sskrll  * modification, are permitted provided that the following conditions
12155f2770Sskrll  * are met:
13155f2770Sskrll  * 1. Redistributions of source code must retain the above copyright
14155f2770Sskrll  *    notice, this list of conditions and the following disclaimer.
15155f2770Sskrll  * 2. Redistributions in binary form must reproduce the above copyright
16155f2770Sskrll  *    notice, this list of conditions and the following disclaimer in the
17155f2770Sskrll  *    documentation and/or other materials provided with the distribution.
18155f2770Sskrll  *
19155f2770Sskrll  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20155f2770Sskrll  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21155f2770Sskrll  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22155f2770Sskrll  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23155f2770Sskrll  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24155f2770Sskrll  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25155f2770Sskrll  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26155f2770Sskrll  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27155f2770Sskrll  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28155f2770Sskrll  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29155f2770Sskrll  * POSSIBILITY OF SUCH DAMAGE.
30155f2770Sskrll  */
31155f2770Sskrll 
32155f2770Sskrll 
33*a319d981Sskrll #ifndef _DEV_FDT_FDT_DDB_H_
34*a319d981Sskrll #define _DEV_FDT_FDT_DDB_H_
35155f2770Sskrll 
36155f2770Sskrll void	fdt_print(const void *, bool, void (*)(const char *, ...) __printflike(1, 2));
37155f2770Sskrll 
38*a319d981Sskrll #endif	/* _DEV_FDT_FDT_DDB_H_ */
39