HardenedBSD/sys/powerpc/ofw
Breno Leitao 48f64992f2 powerpc64: Avoid overwriting initrd area
Currently kexec loads an initrd file into the main memory but does not
mark that region as reserved, thus the area is not protected.

If any initrd/md file is loaded from kexec/petitboot, the region might become
corarupted/overwritten since FreeBSD does not know the region is 'reserved'.

This patch simply adds the initrd area as a reserved memory region.

Approved by: jhibbits
Differential Revision: https://reviews.freebsd.org/D15610
2018-06-01 12:43:13 +00:00
..
ofw_machdep.c powerpc64: Avoid overwriting initrd area 2018-06-01 12:43:13 +00:00
ofw_pcib_pci.c
ofw_pcibus.c
ofw_pcibus.h
ofw_real.c powerpc/ofw: Fix malloc inside lock 2018-04-08 16:43:56 +00:00
ofw_syscons.c
ofw_syscons.h
ofwcall32.S
ofwcall64.S
openpic_ofw.c
rtas.c