From: Guenter Roeck <linux@roeck-us.net>
To: Marek Vasut <marex@denx.de>
Cc: qemu-devel@nongnu.org, Jeff Da Silva <jdasilva@altera.com>,
Chris Wulff <crwulff@gmail.com>,
Sandra Loosemore <sandra@codesourcery.com>,
Yves Vandervennet <yvanderv@altera.com>,
Ley Foon Tan <lftan@altera.com>,
Richard Henderson <rth@twiddle.net>
Subject: Re: [Qemu-devel] [V6, 2/7] nios2: Add architecture emulation support
Date: Sun, 6 Nov 2016 19:58:25 -0800 [thread overview]
Message-ID: <20161107035825.GA26942@roeck-us.net> (raw)
In-Reply-To: <20161025195743.4558-1-marex@denx.de>
On Tue, Oct 25, 2016 at 09:57:43PM +0200, Marek Vasut wrote:
> From: Chris Wulff <crwulff@gmail.com>
>
> 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 <marex@denx.de>
> Cc: Chris Wulff <crwulff@gmail.com>
> Cc: Jeff Da Silva <jdasilva@altera.com>
> Cc: Ley Foon Tan <lftan@altera.com>
> Cc: Sandra Loosemore <sandra@codesourcery.com>
> Cc: Yves Vandervennet <yvanderv@altera.com>
> ---
> V3: Thorough cleanup, deal with the review comments all over the place
> V4: - Use extract32()
> - Fix gen_goto_tb() , suppress tcg_gen_goto_tb()
> - Clean up gen_check_supervisor() helper
> - Use TCGMemOp type for flags
> - Drop jump labels from wrctl/rdctl
> - More TCG cleanup
> V5: - Simplify load/store handling
> - Handle loads into R_ZERO from protected page, add comment
> V6: - Fix division opcode handling
> - Add missing disas handling
> - V5 review comments cleanup
> ---
[ ... ]
> diff --git a/target-nios2/cpu.h b/target-nios2/cpu.h
> new file mode 100644
> index 0000000..17c9a0f
[ ... ]
> +static inline void cpu_get_tb_cpu_state(CPUNios2State *env, target_ulong *pc,
> + target_ulong *cs_base, uint32_t *flags)
> +{
> + *pc = env->regs[R_PC];
> + *cs_base = 0;
> + *flags = (env->regs[CR_STATUS] & (CR_STATUS_EH | CR_STATUS_U));
> +}
> +
> +#endif /* CPU_NIOS2_H */
> +
The empty line at the end results in a whitespace message from git.
Guenter
next prev parent reply other threads:[~2016-11-07 3:58 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-18 21:50 [Qemu-devel] [PATCH V3 1/7] nios2: Add disas entries Marek Vasut
2016-10-18 21:50 ` [Qemu-devel] [PATCH V3 2/7] nios2: Add architecture emulation support Marek Vasut
2016-10-18 23:04 ` Richard Henderson
2016-10-19 3:23 ` Marek Vasut
2016-10-19 15:50 ` Richard Henderson
2016-10-20 3:01 ` Marek Vasut
2016-10-20 5:05 ` Richard Henderson
2016-10-20 13:39 ` Marek Vasut
2016-10-19 3:29 ` [Qemu-devel] [PATCH V4 " Marek Vasut
2016-10-20 13:44 ` [Qemu-devel] [PATCH V5 " Marek Vasut
2016-10-20 14:35 ` Richard Henderson
2016-10-23 3:01 ` Marek Vasut
2016-10-23 4:20 ` Richard Henderson
2016-10-25 15:58 ` Marek Vasut
2016-10-25 19:57 ` [Qemu-devel] [PATCH V6 " Marek Vasut
2016-11-07 3:58 ` Guenter Roeck [this message]
2016-11-07 18:14 ` [Qemu-devel] [V6, " Marek Vasut
2016-11-07 19:54 ` Guenter Roeck
2016-11-07 20:22 ` Romain Naour
2016-11-07 21:40 ` Guenter Roeck
2016-11-12 21:50 ` Marek Vasut
2016-11-12 23:25 ` Guenter Roeck
2016-11-13 12:01 ` Marek Vasut
2016-11-13 12:43 ` Marek Vasut
2016-11-13 16:25 ` Guenter Roeck
2016-11-13 22:56 ` Marek Vasut
2016-11-13 16:09 ` Guenter Roeck
2016-11-13 22:58 ` Marek Vasut
2016-10-18 21:50 ` [Qemu-devel] [PATCH V3 3/7] nios2: Add usermode binaries emulation Marek Vasut
2016-10-18 21:50 ` [Qemu-devel] [PATCH V3 4/7] nios2: Add IIC interrupt controller emulation Marek Vasut
2016-10-18 21:50 ` [Qemu-devel] [PATCH V3 5/7] nios2: Add periodic timer emulation Marek Vasut
2016-10-18 21:50 ` [Qemu-devel] [PATCH V3 6/7] nios2: Add Altera 10M50 GHRD emulation Marek Vasut
2016-11-07 23:45 ` [Qemu-devel] [V3,6/7] " Guenter Roeck
2016-10-18 21:50 ` [Qemu-devel] [PATCH V3 7/7] nios2: Add support for Nios-II R1 Marek Vasut
2016-11-07 3:55 ` [Qemu-devel] [V3,1/7] nios2: Add disas entries Guenter Roeck
2016-11-07 4:17 ` Sandra Loosemore
2016-11-07 4:55 ` Alexey Kardashevskiy
2016-11-07 6:33 ` Guenter Roeck
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=20161107035825.GA26942@roeck-us.net \
--to=linux@roeck-us.net \
--cc=crwulff@gmail.com \
--cc=jdasilva@altera.com \
--cc=lftan@altera.com \
--cc=marex@denx.de \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
--cc=sandra@codesourcery.com \
--cc=yvanderv@altera.com \
/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).