Page MenuHomeFreeBSD

Update devmap to work with arm64
ClosedPublic

Authored by andrew on Apr 7 2015, 3:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 22, 9:57 AM
Unknown Object (File)
Mon, Apr 22, 9:27 AM
Unknown Object (File)
Sat, Apr 20, 4:31 PM
Unknown Object (File)
Sat, Apr 20, 3:07 PM
Unknown Object (File)
Mar 23 2024, 12:39 AM
Unknown Object (File)
Mar 23 2024, 12:01 AM
Unknown Object (File)
Jan 30 2024, 5:48 PM
Unknown Object (File)
Jan 26 2024, 11:58 AM
Subscribers

Details

Reviewers
andrew
Group Reviewers
ARM
Summary

We can reuse most of devmap on arm64. This updates it to handle this. We
reserve an L2 page (2MiB with 4k granules) for early devices, e.g. the UART.
It also updates the code to handle the different pmap implementations and
memory layout.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

andrew retitled this revision from to Update devmap to work with arm64.
andrew updated this object.
andrew edited the test plan for this revision. (Show Details)
andrew added a reviewer: ARM.
andrew added a subscriber: emaste.
sys/arm/arm/devmap.c
31–33

I'd update this comment to say this is shared between aarch64 and arm because of the strong expectation that arm/arm/foo is private to arm.

Add a comment on this file being shared

andrew added a reviewer: andrew.
This revision is now accepted and ready to land.Apr 13 2015, 1:21 PM