opnsense-src/sys/mips/include
Jason A. Harmening fa4e4d55b3 Clean up a couple of MD warts in vm_fault_populate():
--Eliminate a big ifdef that encompassed all currently-supported
architectures except mips and powerpc32.  This applied to the case
in which we've allocated a superpage but the pager-populated range
is insufficient for a superpage mapping.  For platforms that don't
support superpages the check should be inexpensive as we shouldn't
get a superpage in the first place.  Make the normal-page fallback
logic identical for all platforms and provide a simple implementation
of pmap_ps_enabled() for MIPS and Book-E/AIM32 powerpc.

--Apply the logic for handling pmap_enter() failure if a superpage
mapping can't be supported due to additional protection policy.
Use KERN_PROTECTION_FAILURE instead of KERN_FAILURE for this case,
and note Intel PKU on amd64 as the first example of such protection
policy.

Reviewed by:	kib, markj, bdragon

(cherry picked from commit 8dc8feb53d)
2021-12-27 19:35:55 -05:00
..
_align.h
_bus.h
_inttypes.h
_limits.h
_stdint.h
_types.h
abi.h
asm.h
atomic.h
bootinfo.h
bus.h
bus_dma.h
cache.h
cache_mipsNN.h
cache_r4k.h
cca.h
cdefs.h
clock.h
counter.h
cpu.h
cpufunc.h
cpuinfo.h
cpuregs.h
db_machdep.h
dump.h
efi.h
elf.h
endian.h
exec.h
fdt.h
float.h
floatingpoint.h
fls64.h
fpu.h
frame.h
gdb_machdep.h
hwfunc.h
ieee.h
ieeefp.h
in_cksum.h
intr.h
intr_machdep.h
kdb.h
limits.h
locore.h
md_var.h
memdev.h
metadata.h
minidump.h
mips_opcode.h
octeon_cop2.h
ofw_machdep.h
param.h
pcb.h
pcpu.h
pcpu_aux.h
pmap.h Clean up a couple of MD warts in vm_fault_populate(): 2021-12-27 19:35:55 -05:00
pmc_mdep.h
proc.h
procctl.h
profile.h
pte.h
ptrace.h
reg.h
regdef.h
regnum.h
reloc.h
resource.h
runq.h
sc_machdep.h
setjmp.h
sf_buf.h
sigframe.h
signal.h
smp.h
stdarg.h
sysarch.h
tlb.h
tls.h
trap.h
ucontext.h
vdso.h
vm.h
vmparam.h