qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 0/4] Altera NiosII Support (v2)


From: crwulff
Subject: [Qemu-devel] [PATCH 0/4] Altera NiosII Support (v2)
Date: Sat, 10 Nov 2012 23:18:55 -0500

From: Chris Wulff <address@hidden>

This set of patches adds support for the Altera NiosII soft-core processor. 
Included are support for the CPU core and the drivers needed to boot Linux 
(Interrupt controller, Timer and Serial port.) There are quite a few changes 
suggested by the first round review. These include:

  * Better CPU code generation
  * Better support for QOM
  * A bunch of coding style cleanups (struct naming, merging GDB imported 
disassembly, etc.)
  * Updated for changes to the current head of the tree

I've also dropped the device-tree based board configurations from this patch 
set. Those currently depend heavily on fdt-generic patches from Peter 
Crosthwaite that have yet to make it into the main tree. This set of patches 
builds the NiosII core without errors but will report no machine found. I will 
resubmit those board configurations under a separate patch set once the 
integration and cleanup is complete for the fdt-generic board configurations is 
completed.


Chris Wulff (4):
  NiosII: Add support for the Altera NiosII soft-core CPU.
  NiosII: Disassembly of NiosII instructions ported from GDB.
  Altera: Add support for devices needed to boot Linux on NiosII.
  NiosII: Build system and documentation integration.

 MAINTAINERS                          |    5 +
 Makefile.objs                        |    1 +
 arch_init.c                          |    2 +
 arch_init.h                          |    1 +
 configure                            |   11 +
 cpu-exec.c                           |   12 +-
 default-configs/nios2-linux-user.mak |    1 +
 default-configs/nios2-softmmu.mak    |    5 +
 dis-asm.h                            |    3 +
 disas.c                              |    3 +
 elf.h                                |    2 +
 exec.c                               |    6 +-
 gdbstub.c                            |   29 +
 hw/Makefile.objs                     |    5 +
 hw/altera_timer.c                    |  207 ++
 hw/altera_uart.c                     |  217 +++
 hw/altera_vic.c                      |  194 ++
 hw/nios2.h                           |   52 +
 hw/nios2/Makefile.objs               |    3 +
 hw/nios2_pic_cpu.c                   |   39 +
 linux-user/elfload.c                 |   29 +
 monitor.c                            |    5 +-
 nios2-dis.c                          | 3478 ++++++++++++++++++++++++++++++++++
 qapi-schema.json                     |    2 +-
 qemu-doc.texi                        |    3 +
 target-nios2/Makefile.objs           |    5 +
 target-nios2/altera_iic.c            |  101 +
 target-nios2/cpu.c                   |   83 +
 target-nios2/cpu.h                   |  302 +++
 target-nios2/helper.c                |  291 +++
 target-nios2/helper.h                |   45 +
 target-nios2/instruction.c           | 1405 ++++++++++++++
 target-nios2/instruction.h           |  279 +++
 target-nios2/machine.c               |   33 +
 target-nios2/mmu.c                   |  273 +++
 target-nios2/mmu.h                   |   49 +
 target-nios2/op_helper.c             |  119 ++
 target-nios2/translate.c             |  253 +++
 38 files changed, 7547 insertions(+), 6 deletions(-)
 create mode 100644 default-configs/nios2-linux-user.mak
 create mode 100644 default-configs/nios2-softmmu.mak
 create mode 100644 hw/altera_timer.c
 create mode 100644 hw/altera_uart.c
 create mode 100644 hw/altera_vic.c
 create mode 100644 hw/nios2.h
 create mode 100644 hw/nios2/Makefile.objs
 create mode 100644 hw/nios2_pic_cpu.c
 create mode 100644 nios2-dis.c
 create mode 100644 target-nios2/Makefile.objs
 create mode 100644 target-nios2/altera_iic.c
 create mode 100644 target-nios2/cpu.c
 create mode 100644 target-nios2/cpu.h
 create mode 100644 target-nios2/helper.c
 create mode 100644 target-nios2/helper.h
 create mode 100644 target-nios2/instruction.c
 create mode 100644 target-nios2/instruction.h
 create mode 100644 target-nios2/machine.c
 create mode 100644 target-nios2/mmu.c
 create mode 100644 target-nios2/mmu.h
 create mode 100644 target-nios2/op_helper.c
 create mode 100644 target-nios2/translate.c

-- 
1.7.10.4




reply via email to

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