qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 032c76: nios2: Add architecture emulation sup


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 032c76: nios2: Add architecture emulation support
Date: Wed, 25 Jan 2017 08:30:03 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 032c76bc6f92052336b990ca7f51864a275a4839
      
https://github.com/qemu/qemu/commit/032c76bc6f92052336b990ca7f51864a275a4839
  Author: Chris Wulff <address@hidden>
  Date:   2017-01-24 (Tue, 24 Jan 2017)

  Changed paths:
    A target/nios2/Makefile.objs
    A target/nios2/cpu.c
    A target/nios2/cpu.h
    A target/nios2/helper.c
    A target/nios2/helper.h
    A target/nios2/mmu.c
    A target/nios2/mmu.h
    A target/nios2/monitor.c
    A target/nios2/op_helper.c
    A target/nios2/translate.c

  Log Message:
  -----------
  nios2: Add architecture emulation support

Add support for emulating Altera NiosII R1 architecture into qemu.
This patch is based on previous work by Chris Wulff from 2012 and
updated to latest mainline QEMU.

Signed-off-by: Marek Vasut <address@hidden>
Cc: Chris Wulff <address@hidden>
Cc: Jeff Da Silva <address@hidden>
Cc: Ley Foon Tan <address@hidden>
Cc: Sandra Loosemore <address@hidden>
Cc: Yves Vandervennet <address@hidden>
Cc: Alexander Graf <address@hidden>
Message-Id: <address@hidden>
[rth: Remove tlb_flush from nios2_cpu_reset.]
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 3f0c3423093fe7a07af3806cc773bf7d71adf8c9
      
https://github.com/qemu/qemu/commit/3f0c3423093fe7a07af3806cc773bf7d71adf8c9
  Author: Marek Vasut <address@hidden>
  Date:   2017-01-24 (Tue, 24 Jan 2017)

  Changed paths:
    M disas/Makefile.objs
    A disas/nios2.c
    M include/disas/bfd.h

  Log Message:
  -----------
  nios2: Add disas entries

Add nios2 disassembler support. This patch is composed from binutils files
from commit "Opcodes and assembler support for Nios II R2". The files from
binutils used in this patch are:

    include/opcode/nios2.h
    include/opcode/nios2r1.h
    include/opcode/nios2r2.h
    opcodes/nios2-opc.c
    opcodes/nios2-dis.c

Checkpatch says total: 114 errors, 0 warnings, 3609 lines checked , which
is caused by a different coding style in those files. These warnings and
errors are not addressed To let these files be easily synchronized between
binutils and qemu.

Signed-off-by: Marek Vasut <address@hidden>
Cc: Chris Wulff <address@hidden>
Cc: Jeff Da Silva <address@hidden>
Cc: Ley Foon Tan <address@hidden>
Cc: Sandra Loosemore <address@hidden>
Cc: Yves Vandervennet <address@hidden>
Reviewed-by: Alexander Graf <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: a0a839b65b61a51934b9c2c197fa058c319cc94a
      
https://github.com/qemu/qemu/commit/a0a839b65b61a51934b9c2c197fa058c319cc94a
  Author: Marek Vasut <address@hidden>
  Date:   2017-01-24 (Tue, 24 Jan 2017)

  Changed paths:
    M include/elf.h
    M linux-user/elfload.c
    M linux-user/main.c
    A linux-user/nios2/syscall_nr.h
    A linux-user/nios2/target_cpu.h
    A linux-user/nios2/target_signal.h
    A linux-user/nios2/target_structs.h
    A linux-user/nios2/target_syscall.h
    A linux-user/nios2/termbits.h
    M linux-user/signal.c
    M linux-user/syscall_defs.h

  Log Message:
  -----------
  nios2: Add usermode binaries emulation

Add missing bits for qemu-user required for emulating Altera Nios2
userspace binaries.

Signed-off-by: Marek Vasut <address@hidden>
Cc: Chris Wulff <address@hidden>
Cc: Jeff Da Silva <address@hidden>
Cc: Ley Foon Tan <address@hidden>
Cc: Sandra Loosemore <address@hidden>
Cc: Yves Vandervennet <address@hidden>
Reviewed-by: Alexander Graf <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: d2fe4ec19dd3060b12a04370300e49e4b6e519b5
      
https://github.com/qemu/qemu/commit/d2fe4ec19dd3060b12a04370300e49e4b6e519b5
  Author: Chris Wulff <address@hidden>
  Date:   2017-01-24 (Tue, 24 Jan 2017)

  Changed paths:
    M hw/intc/Makefile.objs
    A hw/intc/nios2_iic.c

  Log Message:
  -----------
  nios2: Add IIC interrupt controller emulation

Add the Altera Nios2 internal interrupt controller model.

Signed-off-by: Marek Vasut <address@hidden>
Cc: Chris Wulff <address@hidden>
Cc: Jeff Da Silva <address@hidden>
Cc: Ley Foon Tan <address@hidden>
Cc: Sandra Loosemore <address@hidden>
Cc: Yves Vandervennet <address@hidden>
Reviewed-by: Alexander Graf <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: a32a22535794ed24dc32cc4232e4ba150cdfc829
      
https://github.com/qemu/qemu/commit/a32a22535794ed24dc32cc4232e4ba150cdfc829
  Author: Chris Wulff <address@hidden>
  Date:   2017-01-24 (Tue, 24 Jan 2017)

  Changed paths:
    M hw/timer/Makefile.objs
    A hw/timer/altera_timer.c

  Log Message:
  -----------
  nios2: Add periodic timer emulation

Add the Altera timer model.

Signed-off-by: Marek Vasut <address@hidden>
Cc: Chris Wulff <address@hidden>
Cc: Jeff Da Silva <address@hidden>
Cc: Ley Foon Tan <address@hidden>
Cc: Sandra Loosemore <address@hidden>
Cc: Yves Vandervennet <address@hidden>
Reviewed-by: Alexander Graf <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: b78625648802a5a7eef5a5f848250a52503a81aa
      
https://github.com/qemu/qemu/commit/b78625648802a5a7eef5a5f848250a52503a81aa
  Author: Marek Vasut <address@hidden>
  Date:   2017-01-24 (Tue, 24 Jan 2017)

  Changed paths:
    A hw/nios2/10m50_devboard.c
    A hw/nios2/Makefile.objs
    A hw/nios2/boot.c
    A hw/nios2/boot.h
    A hw/nios2/cpu_pic.c

  Log Message:
  -----------
  nios2: Add Altera 10M50 GHRD emulation

Add the Altera 10M50 Nios2 GHRD model. This allows emulating the
10M50 development kit with the Nios2 GHRD loaded in the FPGA. It
is possible to boot Linux kernel and run userspace, thus far only
from initrd as storage support is not yet implemented.

Signed-off-by: Marek Vasut <address@hidden>
Cc: Chris Wulff <address@hidden>
Cc: Jeff Da Silva <address@hidden>
Cc: Ley Foon Tan <address@hidden>
Cc: Sandra Loosemore <address@hidden>
Cc: Yves Vandervennet <address@hidden>
Reviewed-by: Alexander Graf <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: e671711c9a8c1de540f035095e18458bc03968de
      
https://github.com/qemu/qemu/commit/e671711c9a8c1de540f035095e18458bc03968de
  Author: Marek Vasut <address@hidden>
  Date:   2017-01-24 (Tue, 24 Jan 2017)

  Changed paths:
    M MAINTAINERS
    M arch_init.c
    M configure
    A default-configs/nios2-linux-user.mak
    A default-configs/nios2-softmmu.mak
    M include/sysemu/arch_init.h
    M qemu-doc.texi

  Log Message:
  -----------
  nios2: Add support for Nios-II R1

Add remaining bits of the Altera NiosII R1 support into qemu, which
is documentation, MAINTAINERS file entry, configure bits, arch_init
and configuration files for both linux-user (userland binaries) and
softmmu (hardware emulation).

Signed-off-by: Marek Vasut <address@hidden>
Cc: Chris Wulff <address@hidden>
Cc: Jeff Da Silva <address@hidden>
Cc: Ley Foon Tan <address@hidden>
Cc: Sandra Loosemore <address@hidden>
Cc: Yves Vandervennet <address@hidden>
Reviewed-by: Alexander Graf <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: ae5045ae5b2bbd8ce1335d1b05f9ecacca83a6cf
      
https://github.com/qemu/qemu/commit/ae5045ae5b2bbd8ce1335d1b05f9ecacca83a6cf
  Author: Peter Maydell <address@hidden>
  Date:   2017-01-25 (Wed, 25 Jan 2017)

  Changed paths:
    M MAINTAINERS
    M arch_init.c
    M configure
    A default-configs/nios2-linux-user.mak
    A default-configs/nios2-softmmu.mak
    M disas/Makefile.objs
    A disas/nios2.c
    M hw/intc/Makefile.objs
    A hw/intc/nios2_iic.c
    A hw/nios2/10m50_devboard.c
    A hw/nios2/Makefile.objs
    A hw/nios2/boot.c
    A hw/nios2/boot.h
    A hw/nios2/cpu_pic.c
    M hw/timer/Makefile.objs
    A hw/timer/altera_timer.c
    M include/disas/bfd.h
    M include/elf.h
    M include/sysemu/arch_init.h
    M linux-user/elfload.c
    M linux-user/main.c
    A linux-user/nios2/syscall_nr.h
    A linux-user/nios2/target_cpu.h
    A linux-user/nios2/target_signal.h
    A linux-user/nios2/target_structs.h
    A linux-user/nios2/target_syscall.h
    A linux-user/nios2/termbits.h
    M linux-user/signal.c
    M linux-user/syscall_defs.h
    M qemu-doc.texi
    A target/nios2/Makefile.objs
    A target/nios2/cpu.c
    A target/nios2/cpu.h
    A target/nios2/helper.c
    A target/nios2/helper.h
    A target/nios2/mmu.c
    A target/nios2/mmu.h
    A target/nios2/monitor.c
    A target/nios2/op_helper.c
    A target/nios2/translate.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/rth/tags/pull-nios-20170124' into 
staging

nios2 target support

# gpg: Signature made Tue 24 Jan 2017 21:11:47 GMT
# gpg:                using RSA key 0xAD1270CC4DD0279B
# gpg: Good signature from "Richard Henderson <address@hidden>"
# gpg:                 aka "Richard Henderson <address@hidden>"
# gpg:                 aka "Richard Henderson <address@hidden>"
# Primary key fingerprint: 9CB1 8DDA F8E8 49AD 2AFC  16A4 AD12 70CC 4DD0 279B

* remotes/rth/tags/pull-nios-20170124:
  nios2: Add support for Nios-II R1
  nios2: Add Altera 10M50 GHRD emulation
  nios2: Add periodic timer emulation
  nios2: Add IIC interrupt controller emulation
  nios2: Add usermode binaries emulation
  nios2: Add disas entries
  nios2: Add architecture emulation support

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/ffb5a69c31b3...ae5045ae5b2b

reply via email to

[Prev in Thread] Current Thread [Next in Thread]