Page MenuHomeFreeBSD

D21975.1794790974.diff
No OneTemporary

Authored By
Unknown
Size
628 B
Referenced Files
None
Subscribers
None

D21975.1794790974.diff

Index: head/sys/riscv/riscv/machdep.c
===================================================================
--- head/sys/riscv/riscv/machdep.c
+++ head/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>
@@ -897,6 +898,9 @@
/* Bootstrap enough of pmap to enter the kernel proper */
kernlen = (lastaddr - KERNBASE);
pmap_bootstrap(rvbp->kern_l1pt, mem_regions[0].mr_start, kernlen);
+
+ /* Establish static device mappings */
+ devmap_bootstrap(0, NULL);
cninit();

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 16, 1:02 AM (3 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41753211
Default Alt Text
D21975.1794790974.diff (628 B)

Event Timeline