Page MenuHomeFreeBSD

arm64: Print physmem during boot.
ClosedPublic

Authored by markj on Jul 11 2020, 5:32 PM.
Tags
None
Referenced Files
F107815934: D25625.diff
Sat, Jan 18, 10:44 AM
Unknown Object (File)
Sat, Jan 11, 9:20 PM
Unknown Object (File)
Sat, Dec 28, 1:27 AM
Unknown Object (File)
Sat, Dec 28, 1:25 AM
Unknown Object (File)
Sat, Dec 28, 1:25 AM
Unknown Object (File)
Dec 10 2024, 6:33 AM
Unknown Object (File)
Nov 22 2024, 2:27 AM
Unknown Object (File)
Nov 17 2024, 5:59 AM

Details

Summary

This copies logic from amd64 and RISC-V. Now, upon boot my espressobin
prints:

real memory  = 1073737728 (1023 MB)
avail memory = 1025900544 (978 MB)

A follow-up patch to turn this into an MI subroutine would be nice. It
is easier than it used to be now that phys_avail[] is an MI structure.

PR: 243682

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32247
Build 29737: arc lint + arc unit

Event Timeline

markj requested review of this revision.Jul 11 2020, 5:32 PM

You have some geom changes I assume are not part of the intended change.

This revision is now accepted and ready to land.Jul 13 2020, 9:20 AM

memory changes look good, agreed we should make it MI

This revision now requires review to proceed.Jul 13 2020, 4:52 PM
This revision is now accepted and ready to land.Jul 13 2020, 4:57 PM
This revision was automatically updated to reflect the committed changes.