Page MenuHomeFreeBSD

arm64: Print physmem during boot.
ClosedPublic

Authored by markj on Jul 11 2020, 5:32 PM.

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

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

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.