Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107019529
D43893.id134329.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1021 B
Referenced Files
None
Subscribers
None
D43893.id134329.diff
View Options
diff --git a/sys/kern/subr_physmem.c b/sys/kern/subr_physmem.c
--- a/sys/kern/subr_physmem.c
+++ b/sys/kern/subr_physmem.c
@@ -582,7 +582,6 @@
{
vm_paddr_t avail_list[PHYS_AVAIL_COUNT];
rman_res_t start, end;
- struct region *hwp;
int rid, i;
rid = 0;
@@ -608,30 +607,6 @@
rid++;
}
- /* Now, reserve the excluded memory regions. */
- for (i = 0, hwp = exregions; i < excnt; i++, hwp++) {
- start = hwp->addr;
- end = hwp->addr + hwp->size;
-
- if (bootverbose)
- device_printf(dev,
- "reserving excluded region: %jx-%jx\n",
- (uintmax_t)start, (uintmax_t)(end - 1));
-
- /*
- * Best-effort attempt to reserve the range. This may fail, as
- * sometimes the excluded ranges provided by the device tree
- * will cover or overlap some I/O range.
- */
- if (bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, start, end,
- end - start, 0) == NULL) {
- if (bootverbose)
- device_printf(dev, "failed to reserve region\n");
- continue;
- }
- rid++;
- }
-
return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 1:48 AM (10 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15729814
Default Alt Text
D43893.id134329.diff (1021 B)
Attached To
Mode
D43893: physmem ram: Don't reserve excluded regions
Attached
Detach File
Event Timeline
Log In to Comment