]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/riscv/spike.c
elf: Add optional function ptr to load_elf() to parse ELF notes
[mirror_qemu.git] / hw / riscv / spike.c
index 268df04c3c7d6eca5f7396f0ecfd90f064881841..c66ffc50cc7497c220a0d67029e2a2011df18682 100644 (file)
@@ -57,7 +57,7 @@ static uint64_t load_kernel(const char *kernel_filename)
 {
     uint64_t kernel_entry, kernel_high;
 
-    if (load_elf_ram_sym(kernel_filename, NULL, NULL,
+    if (load_elf_ram_sym(kernel_filename, NULL, NULL, NULL,
             &kernel_entry, NULL, &kernel_high, 0, EM_RISCV, 1, 0,
             NULL, true, htif_symbol_callback) < 0) {
         error_report("could not load kernel '%s'", kernel_filename);