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)
Tue, Jul 21, 11:18 AM
Unknown Object (File)
Tue, Jul 21, 9:58 AM
Unknown Object (File)
Mon, Jul 20, 9:44 AM
Unknown Object (File)
Mon, Jul 20, 6:11 AM
Unknown Object (File)
Wed, Jul 8, 1:08 AM
Unknown Object (File)
Wed, Jul 1, 11:09 AM
Unknown Object (File)
Thu, Jun 25, 7:25 AM
Unknown Object (File)
Mon, Jun 22, 6:54 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 49290
Build 46180: arc lint + arc unit

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).