Page MenuHomeFreeBSD

riscv: Rename struct pmap's pm_l1 field to pm_top
ClosedPublic

Authored by markj on Feb 14 2022, 10:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 6 2024, 5:56 PM
Unknown Object (File)
Oct 3 2024, 4:00 PM
Unknown Object (File)
Oct 3 2024, 3:00 PM
Unknown Object (File)
Oct 1 2024, 4:50 PM
Unknown Object (File)
Oct 1 2024, 1:24 AM
Unknown Object (File)
Sep 28 2024, 10:28 AM
Unknown Object (File)
Sep 22 2024, 2:11 AM
Unknown Object (File)
Sep 16 2024, 2:17 PM
Subscribers

Details

Summary

In SV48 mode, the top-level page will be an L0 page rather than an L1
page. Rename the field accordingly. No functional change intended.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb added a subscriber: jhb.

Is it L-1 for SV57? :-P

This revision is now accepted and ready to land.Feb 14 2022, 10:56 PM
In D34270#775783, @jhb wrote:

Is it L-1 for SV57? :-P

I think at that point it'll be time to factor some of the page table management code out into an MI layer. Then I'd use L0 instead of L3 to refer to leaf PTPs, L1 instead of L2, etc..

This revision now requires review to proceed.Feb 18 2022, 2:27 PM
This revision was not accepted when it landed; it landed in state Needs Review.Mar 1 2022, 2:40 PM
This revision was automatically updated to reflect the committed changes.