HomeFreeBSD

powerpc/booke pmap: Fix iteration for 64-bit kernel page table creation

Description

powerpc/booke pmap: Fix iteration for 64-bit kernel page table creation

Kernel page tables actually start at index 4096, given kernel base address
of 0xc008000000000000, not index 0, which would yield 0xc000000000000000.
Fix this by indexing at the real base, instead of the assumed base.

Details

Provenance
jhibbitsAuthored on
Parents
rS361493: [PowerPC] Ensure ppc32 cpu_switch routines set up Secure-PLT.
Branches
Unknown
Tags
Unknown