mirror of
https://github.com/opnsense/src.git
synced 2026-03-16 23:55:19 -04:00
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 back into regular KVA space for consistency with other implementations. |
||
|---|---|---|
| .. | ||
| clock.c | ||
| copyinout.c | ||
| interrupt.c | ||
| locore.S | ||
| machdep.c | ||
| mmu_oea.c | ||
| mmu_oea64.c | ||
| mp_cpudep.c | ||
| nexus.c | ||
| ofw_machdep.c | ||
| ofwmagic.S | ||
| platform_chrp.c | ||
| swtch.S | ||
| trap.c | ||
| trap_subr.S | ||
| uma_machdep.c | ||
| vm_machdep.c | ||