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)
Sun, Dec 8, 3:53 AM
Unknown Object (File)
Mon, Dec 2, 7:24 AM
Unknown Object (File)
Mon, Nov 25, 3:40 PM
Unknown Object (File)
Mon, Nov 25, 2:42 PM
Unknown Object (File)
Mon, Nov 25, 4:20 AM
Unknown Object (File)
Sat, Nov 23, 8:14 PM
Unknown Object (File)
Sat, Nov 23, 5:41 PM
Unknown Object (File)
Sat, Nov 23, 5:27 PM
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