[PPC] Fix loader call to instantiate-rtas
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. Reviewed by: jhibbits Sponsored by: Eldorado Research Institute (eldorado.org.br) Differential Revision: https://reviews.freebsd.org/D24313
This commit is contained in:
parent
50efb9242c
commit
1824195b70
@ -120,7 +120,7 @@ ofwfdt_fixups(void *fdtp)
|
||||
/* Instantiate RTAS */
|
||||
rtas = OF_open(path);
|
||||
base = 0;
|
||||
OF_call_method("instantiate-rtas", rtas, 1, 1, (cell_t)rtas,
|
||||
OF_call_method("instantiate-rtas", rtas, 1, 1, (cell_t)rtasmem,
|
||||
&base);
|
||||
|
||||
/* Store info to FDT using Linux convention */
|
||||
|
Loading…
x
Reference in New Issue
Block a user