Page MenuHomeFreeBSD

D19170.diff
No OneTemporary

D19170.diff

Index: head/sys/riscv/riscv/pmap.c
===================================================================
--- head/sys/riscv/riscv/pmap.c
+++ head/sys/riscv/riscv/pmap.c
@@ -628,7 +628,7 @@
pa = pmap_early_vtophys(l1pt, freemempos);
- /* Initialize phys_avail. */
+ /* Initialize phys_avail and dump_avail. */
for (avail_slot = map_slot = physmem = 0; map_slot < physmap_idx * 2;
map_slot += 2) {
start = physmap[map_slot];
@@ -636,6 +636,9 @@
if (start == end)
continue;
+ dump_avail[map_slot] = start;
+ dump_avail[map_slot + 1] = end;
+
if (start >= kernstart && end <= pa)
continue;

File Metadata

Mime Type
text/plain
Expires
Sat, Jul 25, 8:08 AM (5 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35468139
Default Alt Text
D19170.diff (622 B)

Event Timeline