Page MenuHomeFreeBSD

[PPC] Fix loader call to instantiate-rtas
ClosedPublic

Authored by luporl on Apr 6 2020, 5:12 PM.

Details

Summary

OpenFirmware (OF) method instantiate-rtas was being called with a wrong rtas-base-address argument.
It must use the memory that is already being allocated to this end instead.

This issue was causing QEMU netboot to hang when building the FDT from OF DT.
Boot from disk was probably working by luck.

Test Plan

Tested netboot and boot from disk and confirmed that both work.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.