Re: [PATCH] hw/riscv: Add optional symbol callback ptr to riscv_load_kernel()

2019-11-23 Thread Alistair Francis
On Tue, Nov 19, 2019 at 12:03 AM Zhuang, Siwei (Data61, Kensington NSW) wrote: > > This patch adds an optional function pointer, "sym_cb", to > riscv_load_kernel() which provides the possibility to access the symbol > table during kernel loading. > > The pointer is ignored, if supplied with Image

[PATCH] hw/riscv: Add optional symbol callback ptr to riscv_load_kernel()

2019-11-19 Thread Zhuang, Siwei (Data61, Kensington NSW)
This patch adds an optional function pointer, "sym_cb", to riscv_load_kernel() which provides the possibility to access the symbol table during kernel loading. The pointer is ignored, if supplied with Image or uImage file. The Spike board requires the access to locate the HTIF symbols. Fixes: 0a