]> Git Repo - qemu.git/blobdiff - hw/lm32/milkymist.c
elf: Add optional function ptr to load_elf() to parse ELF notes
[qemu.git] / hw / lm32 / milkymist.c
index 63c6894c955965f413e6c8ee227e33fc2caa9008..b080cf1ca9204f719c27f5ea0b721e2eecfba8bc 100644 (file)
@@ -32,6 +32,7 @@
 #include "hw/loader.h"
 #include "elf.h"
 #include "milkymist-hw.h"
+#include "hw/display/milkymist_tmu2.h"
 #include "lm32.h"
 #include "exec/address-spaces.h"
 
@@ -175,7 +176,8 @@ milkymist_init(MachineState *machine)
         uint64_t entry;
 
         /* Boots a kernel elf binary.  */
-        kernel_size = load_elf(kernel_filename, NULL, NULL, &entry, NULL, NULL,
+        kernel_size = load_elf(kernel_filename, NULL, NULL, NULL,
+                               &entry, NULL, NULL,
                                1, EM_LATTICEMICO32, 0, 0);
         reset_info->bootstrap_pc = entry;
 
This page took 0.023889 seconds and 4 git commands to generate.