Page MenuHomeFreeBSD

kboot: Add powerpc stub for enumerate_memory_arch()
ClosedPublic

Authored by imp on Jan 29 2023, 3:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 25, 7:25 AM
Unknown Object (File)
Mon, Jun 22, 6:54 PM
Unknown Object (File)
Mon, Jun 22, 5:42 PM
Unknown Object (File)
Mon, Jun 22, 2:58 AM
Unknown Object (File)
Sun, Jun 21, 9:50 PM
Unknown Object (File)
Sat, Jun 20, 11:05 AM
Unknown Object (File)
Fri, Jun 19, 7:42 PM
Unknown Object (File)
Thu, Jun 18, 8:46 AM
Subscribers

Details

Summary

Add stub for new MI interface for enumerating memory. Right now powerpc
looks in the FDT table at a later point in boot since we don't need to
pass a specific memory table to the kernel. Leave it like that for now,
but note plans for the future.

Sponsored by: Netflix

Diff Detail

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

Event Timeline

Move setting of usefdt into enumerate_memory_arch()

rebase / refactor / redo

This revision is now accepted and ready to land.Feb 2 2023, 3:09 AM
stand/kboot/arch/powerpc64/load_addr.c
221

Values in return statements should be enclosed in parentheses. (style).