1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00
freebsd/sys/dev/fdt
Marcel Moolenaar cb34ed4434 Add basic support for FDT to i386 & amd64. This change includes:
1.  Common headers for fdt.h and ofw_machdep.h under x86/include
    with indirections under i386/include and amd64/include.
2.  New modinfo for loader provided FDT blob.
3.  Common x86_init_fdt() called from hammer_time() on amd64 and
    init386() on i386.
4.  Split-off FDT specific low-level console functions from FDT
    bus methods for the uart(4) driver. The low-level console
    logic has been moved to uart_cpu_fdt.c and is used for arm,
    mips & powerpc only. The FDT bus methods are shared across
    all architectures.
5.  Add dev/fdt/fdt_x86.c to hold the fdt_fixup_table[] and the
    fdt_pic_table[] arrays. Both are empty right now.

FDT addresses are I/O ports on x86. Since the core FDT code does
not handle different address spaces, adding support for both I/O
ports and memory addresses requires some thought and discussion.
It may be better to use a compile-time option that controls this.

Obtained from:	Juniper Networks, Inc.
2013-05-21 03:05:49 +00:00
..
fdt_common.c Return "start" and "end" to u_long world. Because rman handle addresses as 2013-03-19 14:15:41 +00:00
fdt_common.h Bump per-device interrupt limit to more reasonable default. 2013-02-23 22:58:04 +00:00
fdt_mips.c Merge Perforce changeset 219933 and portions of 219962 (omits changes to 2013-01-12 16:09:33 +00:00
fdt_pci.c If virtual addresses are not set use one to one mapping. 2012-09-14 09:45:13 +00:00
fdt_powerpc.c
fdt_slicer.c
fdt_static_dtb.S
fdt_x86.c Add basic support for FDT to i386 & amd64. This change includes: 2013-05-21 03:05:49 +00:00
fdtbus.c o Switch to use physical addresses in rman for FDT. 2013-03-18 15:18:55 +00:00
simplebus.c Don't hesitate to ask parent to setup IRQ finally. 2013-03-18 23:51:39 +00:00