Page MenuHomeFreeBSD

D21975.id63137.diff
No OneTemporary

D21975.id63137.diff

Index: sys/riscv/riscv/machdep.c
===================================================================
--- sys/riscv/riscv/machdep.c
+++ sys/riscv/riscv/machdep.c
@@ -44,6 +44,7 @@
#include <sys/bus.h>
#include <sys/cons.h>
#include <sys/cpu.h>
+#include <sys/devmap.h>
#include <sys/exec.h>
#include <sys/imgact.h>
#include <sys/kdb.h>
@@ -898,6 +899,9 @@
kernlen = (lastaddr - KERNBASE);
pmap_bootstrap(rvbp->kern_l1pt, mem_regions[0].mr_start, kernlen);
+ /* Establish static device mappings */
+ devmap_bootstrap(0, NULL);
+
cninit();
init_proc0(rvbp->kern_stack);

File Metadata

Mime Type
text/plain
Expires
Mon, Jun 15, 3:05 PM (17 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33970801
Default Alt Text
D21975.id63137.diff (585 B)

Event Timeline