Alexander von Gluck IV 40eb7121b6 arm/fdt: Start using new fdt code in mmu_man's fdt_serial logic
* Expose fdt_get_device_reg for others to use
2015-03-14 14:29:30 -05:00

24 lines
534 B
C

/*
* Copyright 2012-2015, Haiku, Inc.
* Distributed under the terms of the MIT License.
*
* Authors
* Alexander von Gluck IV, kallisti5@unixzen.com
*/
#ifndef __FDT_SUPPORT_H
#define __FDT_SUPPORT_H
#include <KernelExport.h>
void dump_fdt(const void *fdt);
status_t fdt_get_cell_count(int node, int32 &addressCells, int32 &sizeCells);
phys_addr_t fdt_get_device_reg(int node);
phys_addr_t fdt_get_device_reg_byname(const char* name);
phys_addr_t fdt_get_device_reg_byalias(const char* alias);
#endif /*__FDT_SUPPORT_H*/