Module Name: src Committed By: jmcneill Date: Sun May 28 23:39:30 UTC 2017
Modified Files: src/sys/arch/arm/fdt: armv7_fdt.c src/sys/arch/arm/nvidia: files.tegra src/sys/arch/evbarm/tegra: platform.h tegra_machdep.c Added Files: src/sys/arch/arm/fdt: armv7_fdtvar.h src/sys/arch/arm/nvidia: tegra_platform.c Log Message: Add a facility for platform-specific callbacks and use it to remove most of the Tegra-specific code from tegra_machdep.c. Platform code matches on the compatible property of the root ("/") DT node and allows for chip-specific implementations of the following: - devmap: Return a 0-terminated list of static device map entries. - bootstrap: Early initialization of platform-specific facilities. - early_putchar: Provides an implementation of putchar for use in early debug messages. - device_register: Platform-specific device register callback. - reset: Platform-specific CPU reset implementation. - consinit: Platform-specific console init implementation. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/fdt/armv7_fdt.c cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/fdt/armv7_fdtvar.h cvs rdiff -u -r1.37 -r1.38 src/sys/arch/arm/nvidia/files.tegra cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/nvidia/tegra_platform.c cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbarm/tegra/platform.h cvs rdiff -u -r1.45 -r1.46 src/sys/arch/evbarm/tegra/tegra_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.