freebsd-nq/sys/powerpc
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
..
aim On POWER9 clear the HID0_RADIX before enabling the page tables 2018-05-26 04:33:19 +00:00
booke Print the full-width pointer values in hex. 2018-05-28 00:19:08 +00:00
conf Enable kernel dump features in GENERIC for most platforms. 2018-05-19 19:53:23 +00:00
cpufreq [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
fpu sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
include Stop idle threads on power9 in the idle task until an interrupt. 2018-05-27 20:24:24 +00:00
mambo sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
mikrotik
mpc85xx Remove dead errata fixup code 2018-05-01 04:31:17 +00:00
ofw powerpc64: Avoid overwriting initrd area 2018-06-01 12:43:13 +00:00
powermac Fix null pointer dereference on nodes without a "compatible" property. 2018-04-30 19:37:32 +00:00
powernv Remove a debug printf from opal_pci driver 2018-05-31 04:11:40 +00:00
powerpc Match style of the other prototypes, and don't name the argument. 2018-05-27 20:36:43 +00:00
ps3 ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
pseries Add a comment explaining the need of a global temporary variable 2018-05-22 03:24:16 +00:00
psim Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00