Page MenuHomeFreeBSD

dev/fdt: Add fdt_foreach_mem_region
ClosedPublic

Authored by andrew on Mon, Apr 7, 5:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 17, 2:46 AM
Unknown Object (File)
Wed, Apr 16, 12:19 PM
Unknown Object (File)
Mon, Apr 14, 1:10 PM
Unknown Object (File)
Mon, Apr 14, 7:15 AM
Unknown Object (File)
Sat, Apr 12, 1:21 PM
Unknown Object (File)
Fri, Apr 11, 11:14 PM
Unknown Object (File)
Fri, Apr 11, 4:46 AM
Unknown Object (File)
Wed, Apr 9, 12:02 PM
Subscribers

Details

Summary

This is used early in the boot to find physical memory. Previously it
needed an array of memory regions to be passed in. We keep finding
hardware where this array is too small causing the kernel to smash the
stack.

Replace with a function that takes a callback that can insert the
memory into the physical map directly.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable