Page MenuHomeFreeBSD

powerpc/booke: Split out 32- and 64- bit pmap details from main body
ClosedPublic

Authored by jhibbits on Mar 6 2020, 2:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 10, 9:53 AM
Unknown Object (File)
Fri, May 8, 7:52 PM
Unknown Object (File)
Fri, May 1, 8:52 PM
Unknown Object (File)
Apr 15 2026, 7:30 PM
Unknown Object (File)
Apr 11 2026, 10:07 PM
Unknown Object (File)
Mar 27 2026, 5:41 AM
Unknown Object (File)
Mar 26 2026, 11:38 AM
Unknown Object (File)
Mar 22 2026, 7:43 AM
Subscribers

Details

Summary

This is largely a straight-forward cleave of the 32-bit and 64-bit page
table specifics, along with the mmu_booke_*() functions that are wholely
different between the two implementations.

The ultimate goal of this is to make it easier to reason about and
update a specific implementation without wading through the other
implementation details. This is in support of changing the page table
format for 64-bit to a 4-level full hierarchical page table, instead of
the current hashed top level with holes.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I definitely approve conceptually.

Haven't had a chance to properly test this on the x5000 and rb800 yet, but will try to get to it.

Compiles and boots on RB800 and X5000, and is a lot easier to reason about than the combined version.

This revision is now accepted and ready to land.Mar 9 2020, 6:36 PM
sys/powerpc/booke/pmap_64.c
39 ↗(On Diff #69250)

Should verify and move these notes to pmap_32.c. Can be done in a later revision just as easily though.