summary refs log tree commit diff stats
path: root/hw/xtensa/sim.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2020-09-28 16:49:10 +0100
committerPeter Maydell <peter.maydell@linaro.org>2020-09-28 16:49:10 +0100
commit74504514b154ebebdff577d88e4bf5c13074e9ed (patch)
treed94d264f606b98303f9467c1472f447a6b3ae53e /hw/xtensa/sim.c
parent92d09502676678c8ebb1ad830666b323d3c88f9d (diff)
parente8a612b7e3cdbdface1e34a27300ca2f8521dee0 (diff)
downloadfocaccia-qemu-74504514b154ebebdff577d88e4bf5c13074e9ed.tar.gz
focaccia-qemu-74504514b154ebebdff577d88e4bf5c13074e9ed.zip
Merge remote-tracking branch 'remotes/alistair/tags/pull-register-20200927' into staging
Two small patches. One with a fix for the register API instance_size
and one for removing unused address variables from load_elf.

# gpg: Signature made Sun 27 Sep 2020 14:45:06 BST
# gpg:                using RSA key F6C4AC46D4934868D3B8CE8F21E10D29DF977054
# gpg: Good signature from "Alistair Francis <alistair@alistair23.me>" [full]
# Primary key fingerprint: F6C4 AC46 D493 4868 D3B8  CE8F 21E1 0D29 DF97 7054

* remotes/alistair/tags/pull-register-20200927:
  core/register: Specify instance_size in the TypeInfo
  load_elf: Remove unused address variables from callers

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/xtensa/sim.c')
-rw-r--r--hw/xtensa/sim.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/xtensa/sim.c b/hw/xtensa/sim.c
index aeb46d86f5..cbac50db2d 100644
--- a/hw/xtensa/sim.c
+++ b/hw/xtensa/sim.c
@@ -106,9 +106,8 @@ void xtensa_sim_load_kernel(XtensaCPU *cpu, MachineState *machine)
 
     if (kernel_filename) {
         uint64_t elf_entry;
-        uint64_t elf_lowaddr;
         int success = load_elf(kernel_filename, NULL, translate_phys_addr, cpu,
-                               &elf_entry, &elf_lowaddr, NULL, NULL, big_endian,
+                               &elf_entry, NULL, NULL, NULL, big_endian,
                                EM_XTENSA, 0, 0);
 
         if (success > 0) {