HomeFreeBSD

Move the OEA64 scratchpage to the end of KVA from the beginning, and set
rS204297Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Move the OEA64 scratchpage to the end of KVA from the beginning, and set
its PVO to map physical address 0 instead of kernelstart. This fixes a
situation in which a user process could attempt to return this address
via KVM, have it fault while being modified, and then panic the kernel
because (a) it is supposed to map a valid address and (b) it lies in the
no-fault region between VM_MIN_KERNEL_ADDRESS and virtual_avail.

While here, move msgbuf and dpcpu make into regular KVA space for
consistency with other implementations.

Details

Provenance
nwhitehornAuthored on
Parents
rS204296: Provide an implementation of pmap_dev_direct_mapped() on OEA64. This is
Branches
Unknown
Tags
Unknown

Event Timeline