qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Guan Xuetao <gxt@mprc.pku.edu.cn>
To: qemu-devel@nongnu.org
Cc: blauwirbel@gmail.com, Guan Xuetao <gxt@mprc.pku.edu.cn>,
	afaerber@suse.de, chenwj@iis.sinica.edu.tw
Subject: [Qemu-devel] [PATCHv2 00/13] unicore32: add softmmu support and puv3 machine
Date: Fri, 15 Jun 2012 17:47:33 +0800	[thread overview]
Message-ID: <cover.1339753406.git.gxt@mprc.pku.edu.cn> (raw)

These patches implement softmmu support on unicore32 architecture.

UniCore32 CPU is embedded in PKUnity-3 SoC, so we add necessary puv3
devices simulation codes together.
Only minimal system control modules are simulated, to make linux kernel
boot and busybox run in initramfs.

Any advice is greatly appreciated.

Thanks,

Guan Xuetao

---

Guan Xuetao (13):
  unicore32-softmmu: Add unicore32-softmmu build support
  unicore32-softmmu: Add coprocessor 0(sysctrl) and 1(ocd) instruction
    support
  unicore32-softmmu: Make UniCore32 cpuid & exceptions correct and
    runable
  unicore32-softmmu: Implement softmmu specific functions
  unicore32-softmmu: Make sure that kernel can access user space
  unicore32-softmmu: Add puv3 soc/board support
  unicore32-softmmu: Add puv3 interrupt support
  unicore32-softmmu: Add puv3 ostimer support
  unicore32-softmmu: Add puv3 gpio support
  unicore32-softmmu: Add puv3 pm support
  unicore32-softmmu: Add puv3 dma support
  unicore32-softmmu: Add ps2 support
  unicore32-softmmu: Add maintainer information for UniCore32 machine

 MAINTAINERS                           |    7 +
 Makefile.objs                         |    7 +
 Makefile.target                       |    3 +
 arch_init.c                           |    2 +
 arch_init.h                           |    1 +
 configure                             |    1 +
 cpu-exec.c                            |    1 +
 default-configs/unicore32-softmmu.mak |    4 +
 hw/puv3.c                             |  130 ++++++++++++++++
 hw/puv3.h                             |   49 ++++++
 hw/puv3_dma.c                         |  109 +++++++++++++
 hw/puv3_gpio.c                        |  141 +++++++++++++++++
 hw/puv3_intc.c                        |  135 +++++++++++++++++
 hw/puv3_ost.c                         |  151 +++++++++++++++++++
 hw/puv3_pm.c                          |  148 ++++++++++++++++++
 linux-user/main.c                     |    3 +-
 target-unicore32/cpu.c                |   25 ++-
 target-unicore32/cpu.h                |   12 +-
 target-unicore32/helper.c             |  180 +++++++++++++++++-----
 target-unicore32/helper.h             |   15 +-
 target-unicore32/machine.c            |   23 +++
 target-unicore32/op_helper.c          |   44 ++++++-
 target-unicore32/softmmu.c            |  267 +++++++++++++++++++++++++++++++++
 target-unicore32/translate.c          |  111 ++++++++++++--
 24 files changed, 1492 insertions(+), 77 deletions(-)
 create mode 100644 default-configs/unicore32-softmmu.mak
 create mode 100644 hw/puv3.c
 create mode 100644 hw/puv3.h
 create mode 100644 hw/puv3_dma.c
 create mode 100644 hw/puv3_gpio.c
 create mode 100644 hw/puv3_intc.c
 create mode 100644 hw/puv3_ost.c
 create mode 100644 hw/puv3_pm.c
 create mode 100644 target-unicore32/machine.c
 create mode 100644 target-unicore32/softmmu.c

             reply	other threads:[~2012-06-15  9:50 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-15  9:47 Guan Xuetao [this message]
2012-06-15  9:47 ` [Qemu-devel] [PATCHv2 01/13] unicore32-softmmu: Add unicore32-softmmu build support Guan Xuetao
2012-06-15 10:28   ` Paolo Bonzini
2012-06-15 12:46     ` Andreas Färber
2012-06-15 13:13       ` Paolo Bonzini
2012-06-15  9:47 ` [Qemu-devel] [PATCHv2 02/13] unicore32-softmmu: Add coprocessor 0(sysctrl) and 1(ocd) instruction support Guan Xuetao
2012-06-15 11:13   ` Andreas Färber
2012-06-18  2:08     ` Guan Xuetao
2012-06-15  9:47 ` [Qemu-devel] [PATCHv2 03/13] unicore32-softmmu: Make UniCore32 cpuid & exceptions correct and runable Guan Xuetao
2012-06-15  9:47 ` [Qemu-devel] [PATCHv2 04/13] unicore32-softmmu: Implement softmmu specific functions Guan Xuetao
2012-06-15  9:47 ` [Qemu-devel] [PATCHv2 05/13] unicore32-softmmu: Make sure that kernel can access user space Guan Xuetao
2012-06-15 10:01   ` 陳韋任 (Wei-Ren Chen)
2012-06-18  2:03     ` Guan Xuetao
2012-06-15  9:47 ` [Qemu-devel] [PATCHv2 06/13] unicore32-softmmu: Add puv3 soc/board support Guan Xuetao
2012-06-15  9:47 ` [Qemu-devel] [PATCHv2 07/13] unicore32-softmmu: Add puv3 interrupt support Guan Xuetao
2012-06-15  9:47 ` [Qemu-devel] [PATCHv2 08/13] unicore32-softmmu: Add puv3 ostimer support Guan Xuetao
2012-06-15  9:47 ` [Qemu-devel] [PATCHv2 09/13] unicore32-softmmu: Add puv3 gpio support Guan Xuetao
2012-06-15  9:47 ` [Qemu-devel] [PATCHv2 10/13] unicore32-softmmu: Add puv3 pm support Guan Xuetao
2012-06-15  9:47 ` [Qemu-devel] [PATCHv2 11/13] unicore32-softmmu: Add puv3 dma support Guan Xuetao
2012-06-15  9:47 ` [Qemu-devel] [PATCHv2 12/13] unicore32-softmmu: Add ps2 support Guan Xuetao
2012-06-15  9:47 ` [Qemu-devel] [PATCHv2 13/13] unicore32-softmmu: Add maintainer information for UniCore32 machine Guan Xuetao
2012-06-15 10:17 ` [Qemu-devel] [PATCHv2 00/13] unicore32: add softmmu support and puv3 machine 陳韋任 (Wei-Ren Chen)
2012-06-18  2:05   ` Guan Xuetao
2012-06-18  6:58     ` 陳韋任 (Wei-Ren Chen)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1339753406.git.gxt@mprc.pku.edu.cn \
    --to=gxt@mprc.pku.edu.cn \
    --cc=afaerber@suse.de \
    --cc=blauwirbel@gmail.com \
    --cc=chenwj@iis.sinica.edu.tw \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).