summaryrefslogtreecommitdiffstats
path: root/hw/moxie
diff options
context:
space:
mode:
Diffstat (limited to 'hw/moxie')
-rw-r--r--hw/moxie/moxiesim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/moxie/moxiesim.c b/hw/moxie/moxiesim.c
index 51a98287b5..a765e9f6be 100644
--- a/hw/moxie/moxiesim.c
+++ b/hw/moxie/moxiesim.c
@@ -52,13 +52,13 @@ typedef struct {
static void load_kernel(MoxieCPU *cpu, LoaderParams *loader_params)
{
- uint64_t entry, kernel_low, kernel_high;
+ uint64_t entry, kernel_high;
int64_t initrd_size;
long kernel_size;
ram_addr_t initrd_offset;
kernel_size = load_elf(loader_params->kernel_filename, NULL, NULL, NULL,
- &entry, &kernel_low, &kernel_high, NULL, 1, EM_MOXIE,
+ &entry, NULL, &kernel_high, NULL, 1, EM_MOXIE,
0, 0);
if (kernel_size <= 0) {