Author: br Date: Wed Apr 12 10:34:50 2017 New Revision: 316728 URL: https://svnweb.freebsd.org/changeset/base/316728
Log: Provide a NULL pointer to device tree blob so GENERIC kernel can be compiled. We will need to get pointer to DTB from hardware, so mark as TODO. Sponsored by: DARPA, AFRL Modified: head/sys/riscv/riscv/machdep.c Modified: head/sys/riscv/riscv/machdep.c ============================================================================== --- head/sys/riscv/riscv/machdep.c Wed Apr 12 09:22:02 2017 (r316727) +++ head/sys/riscv/riscv/machdep.c Wed Apr 12 10:34:50 2017 (r316728) @@ -718,7 +718,12 @@ try_load_dtb(caddr_t kmdp) { vm_offset_t dtbp; +#if defined(FDT_DTB_STATIC) dtbp = (vm_offset_t)&fdt_static_dtb; +#else + /* TODO */ + dtbp = (vm_offset_t)NULL; +#endif if (dtbp == (vm_offset_t)NULL) { printf("ERROR loading DTB\n"); return; _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"