qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: Michael Rolnik <mrolnik@gmail.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>,
	Michael Rolnik <rolnik@amazon.com>,
	Richard Henderson <rth@twiddle.net>
Subject: Re: [Qemu-devel] [PATCH v4 1/9] target-avr: AVR cores support is added. 1. basic CPU structure 2. registers 3. no instructions
Date: Mon, 6 Jun 2016 23:27:28 +0100	[thread overview]
Message-ID: <CAFEAcA8Wj3k5W6V9Z_MUwRvD5nMG2ZFb6WTeyHQxuD-6Ui01vw@mail.gmail.com> (raw)
In-Reply-To: <1465209480-71364-2-git-send-email-rolnik@amazon.com>

On 6 June 2016 at 11:37, Michael Rolnik <mrolnik@gmail.com> wrote:
> Signed-off-by: Michael Rolnik <mrolnik@gmail.com>
> ---
>  arch_init.c                     |   2 +
>  configure                       |   5 +
>  default-configs/avr-softmmu.mak |   1 +
>  disas/Makefile.objs             |   1 +
>  disas/avr.c                     |  10 ++
>  include/disas/bfd.h             |   7 +
>  include/sysemu/arch_init.h      |   1 +
>  target-avr/Makefile.objs        |   3 +
>  target-avr/cpu-qom.h            |  80 +++++++++++
>  target-avr/cpu.c                | 288 ++++++++++++++++++++++++++++++++++++++++
>  target-avr/cpu.h                | 134 +++++++++++++++++++
>  target-avr/gdbstub.c            |  99 ++++++++++++++
>  target-avr/helper.c             |  85 ++++++++++++
>  target-avr/helper.h             |  21 +++
>  target-avr/machine.c            |  54 ++++++++
>  target-avr/machine.h            |  21 +++
>  target-avr/translate.c          | 288 ++++++++++++++++++++++++++++++++++++++++
>  17 files changed, 1100 insertions(+)

(This would probably benefit from being split up a bit too
in my view, but Richard's reviewing this part, not me.)

> diff --git a/disas/avr.c b/disas/avr.c
> new file mode 100644
> index 0000000..f916e72
> --- /dev/null
> +++ b/disas/avr.c
> @@ -0,0 +1,10 @@

Please provide a header comment stating copyright and
license for all new files, even really small ones and
Makefiles. This is one of those things we don't get right
for everything in the tree right now but would like to
maintain for anything new we add. (You don't, at least
as far as we're concerned, have to use the full three
paragraph form if that seems overly bulky; something like

 * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
 * See the COPYING.LIB file in the top-level directory.

is also fine with us.)

> +#include "qemu/osdep.h"
> +#include "qemu-common.h"
> +#include "disas/bfd.h"
> +
> +int print_insn_avr(bfd_vma addr, disassemble_info *info)
> +{
> +    int length  = 0;;
> +    /*  TODO    */
> +    return length;
> +}

thanks
-- PMM

  parent reply	other threads:[~2016-06-06 22:27 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-06 10:37 [Qemu-devel] [PATCH v4 0/9] 8bit AVR cores Michael Rolnik
2016-06-06 10:37 ` [Qemu-devel] [PATCH v4 1/9] target-avr: AVR cores support is added. 1. basic CPU structure 2. registers 3. no instructions Michael Rolnik
2016-06-06 20:15   ` Richard Henderson
2016-06-07  6:32     ` Michael Rolnik
2016-06-07 14:28       ` Richard Henderson
2016-06-08 19:49         ` Michael Rolnik
2016-06-09  4:43           ` Richard Henderson
2016-06-06 22:27   ` Peter Maydell [this message]
2016-06-06 10:37 ` [Qemu-devel] [PATCH v4 2/9] target-avr: adding AVR CPU features/flavors Michael Rolnik
2016-06-06 20:25   ` Richard Henderson
2016-06-08 20:53     ` Michael Rolnik
2016-06-09  4:48       ` Richard Henderson
2016-06-06 10:37 ` [Qemu-devel] [PATCH v4 3/9] target-avr: adding a sample AVR board Michael Rolnik
2016-06-06 20:49   ` Richard Henderson
2016-06-06 21:55   ` Peter Maydell
2016-07-05 22:22     ` Michael Rolnik
2016-07-05 22:31       ` Peter Maydell
2016-06-06 10:37 ` [Qemu-devel] [PATCH v4 4/9] target-avr: adding instructions encodings Michael Rolnik
2016-06-06 21:38   ` Richard Henderson
2016-06-06 22:06     ` Peter Maydell
2016-06-08 21:15       ` Michael Rolnik
2016-06-09  4:53         ` Richard Henderson
2016-06-06 10:37 ` [Qemu-devel] [PATCH v4 5/9] target-avr: adding AVR interrupt handling Michael Rolnik
2016-06-06 21:44   ` Richard Henderson
2016-06-06 22:17     ` Peter Maydell
2016-06-06 10:37 ` [Qemu-devel] [PATCH v4 7/9] target-avr: adding instruction decoder Michael Rolnik
2016-06-06 22:06   ` Richard Henderson
2016-06-06 10:37 ` [Qemu-devel] [PATCH v4 8/9] target-avr: adding instruction translation Michael Rolnik
2016-06-06 23:05   ` Richard Henderson
2016-06-06 10:38 ` [Qemu-devel] [PATCH v4 9/9] target-avr: updating translate.c to use instructions translation Michael Rolnik
2016-06-06 19:40 ` [Qemu-devel] [PATCH v4 0/9] 8bit AVR cores Richard Henderson
2016-06-06 19:49   ` Michael Rolnik
2016-06-06 19:53     ` Michael Rolnik
2016-06-06 20:16       ` Richard Henderson
2016-06-06 20:21     ` Richard Henderson
     [not found] ` <1465209480-71364-7-git-send-email-rolnik@amazon.com>
2016-06-06 21:58   ` [Qemu-devel] [PATCH v4 6/9] target-avr: adding helpers for IN, OUT, SLEEP, WBR & unsupported instructions Richard Henderson

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=CAFEAcA8Wj3k5W6V9Z_MUwRvD5nMG2ZFb6WTeyHQxuD-6Ui01vw@mail.gmail.com \
    --to=peter.maydell@linaro.org \
    --cc=mrolnik@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rolnik@amazon.com \
    --cc=rth@twiddle.net \
    /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).