fdt: Major over-haul of fdt
* Consolidate all fdt code into fdt bus_manager * Build boot and kernel static libraries Change-Id: I2a69cd7e1f1276999a80734ff12918fd49b599e5 Reviewed-on: https://review.haiku-os.org/440 Reviewed-by: Alexander von Gluck IV <[email protected]>
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
/*
|
||||
* Copyright 2012-2015, Haiku, Inc.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Authors
|
||||
* Alexander von Gluck IV, [email protected]
|
||||
*/
|
||||
#ifndef __FDT_SERIAL_H
|
||||
#define __FDT_SERIAL_H
|
||||
|
||||
|
||||
#include <KernelExport.h>
|
||||
#include <arch/generic/debug_uart.h>
|
||||
|
||||
|
||||
DebugUART * debug_uart_from_fdt(const void *fdt);
|
||||
|
||||
|
||||
#endif /*__FDT_SERIAL_H*/
|
||||
@@ -1,24 +0,0 @@
|
||||
/*
|
||||
* Copyright 2012-2015, Haiku, Inc.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Authors
|
||||
* Alexander von Gluck IV, [email protected]
|
||||
*/
|
||||
#ifndef __FDT_SUPPORT_H
|
||||
#define __FDT_SUPPORT_H
|
||||
|
||||
|
||||
#include <KernelExport.h>
|
||||
|
||||
|
||||
void dump_fdt(const void *fdt);
|
||||
status_t fdt_get_cell_count(const void* fdt, int node,
|
||||
int32 &addressCells, int32 &sizeCells);
|
||||
|
||||
phys_addr_t fdt_get_device_reg(const void* fdt, int node, bool physical=true);
|
||||
phys_addr_t fdt_get_device_reg_byname(const void* fdt, const char* name);
|
||||
phys_addr_t fdt_get_device_reg_byalias(const void* fdt, const char* alias);
|
||||
|
||||
|
||||
#endif /*__FDT_SUPPORT_H*/
|
||||
Reference in New Issue
Block a user