Page MenuHomeFreeBSD

arm64: Print physmem during boot.
ClosedPublic

Authored by markj on Jul 11 2020, 5:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 4, 10:34 PM
Unknown Object (File)
Sun, Oct 4, 10:21 PM
Unknown Object (File)
Sun, Oct 4, 4:38 PM
Unknown Object (File)
Sat, Oct 3, 12:45 PM
Unknown Object (File)
Wed, Sep 30, 7:35 PM
Unknown Object (File)
Wed, Sep 30, 5:37 PM
Unknown Object (File)
Wed, Sep 30, 1:49 PM
Unknown Object (File)
Tue, Sep 29, 11:57 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
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.