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)
Mar 19 2024, 5:13 PM
Unknown Object (File)
Feb 8 2024, 2:44 PM
Unknown Object (File)
Dec 23 2023, 12:30 AM
Unknown Object (File)
Dec 22 2023, 1:13 AM
Unknown Object (File)
Nov 8 2023, 10:48 AM
Unknown Object (File)
Oct 7 2023, 9:44 AM
Unknown Object (File)
Sep 28 2023, 12:04 AM
Unknown Object (File)
Sep 19 2023, 11:39 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 32294
Build 29778: 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.