]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
powerpc: Check for a fdt in the metadata if it doesn't already exist
authorjhibbits <jhibbits@FreeBSD.org>
Mon, 3 Dec 2018 04:56:06 +0000 (04:56 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Mon, 3 Dec 2018 04:56:06 +0000 (04:56 +0000)
commitb1bbabbbe7be2b91c44cbda5b20cc58e7f870627
tree52df063cac0d86aab107bbf9f5ca69cdfa9b655f
parent06ae22c0ab0bfb31c7e8744b70ae7b1c8bde1c95
powerpc: Check for a fdt in the metadata if it doesn't already exist

It's possible the fdt pointer was passed in via the metadata, as is done in
ubldr.  Check for the fdt here, instead of working with a NULL fdt, and
panicking.
sys/powerpc/powerpc/machdep.c