[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v17 6/9] target-avr: adding helpers for IN, OUT,
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v17 6/9] target-avr: adding helpers for IN, OUT, SLEEP, WBR & unsupported instructions |
Date: |
Thu, 18 Aug 2016 19:16:36 +0100 |
On 18 August 2016 at 13:07, Michael Rolnik <address@hidden> wrote:
> Signed-off-by: Michael Rolnik <address@hidden>
> @@ -79,11 +80,11 @@ void avr_cpu_do_interrupt(CPUState *cs)
>
> if (avr_feature(env, AVR_FEATURE_3_BYTE_PC)) {
> cpu_stb_data(env, env->sp--, (ret & 0x0000ff));
> - cpu_stb_data(env, env->sp--, (ret & 0x00ff00) >> 8);
> + cpu_stb_data(env, env->sp--, (ret & 0x00ff00) >> 8);
> cpu_stb_data(env, env->sp--, (ret & 0xff0000) >> 16);
> } else if (avr_feature(env, AVR_FEATURE_2_BYTE_PC)) {
> cpu_stb_data(env, env->sp--, (ret & 0x0000ff));
> - cpu_stb_data(env, env->sp--, (ret & 0x00ff00) >> 8);
> + cpu_stb_data(env, env->sp--, (ret & 0x00ff00) >> 8);
> } else {
> cpu_stb_data(env, env->sp--, (ret & 0x0000ff));
> }
These whitespace changes should be squashed into the commit where the
code was added.
thanks
-- PMM
- [Qemu-devel] [PATCH v17 0/9] 8bit AVR cores, Michael Rolnik, 2016/08/18
- [Qemu-devel] [PATCH v17 3/9] target-avr: adding a sample AVR board, Michael Rolnik, 2016/08/18
- [Qemu-devel] [PATCH v17 2/9] target-avr: adding AVR CPU features/flavors, Michael Rolnik, 2016/08/18
- [Qemu-devel] [PATCH v17 5/9] target-avr: adding AVR interrupt handling, Michael Rolnik, 2016/08/18
- [Qemu-devel] [PATCH v17 4/9] target-avr: adding instructions encodings, Michael Rolnik, 2016/08/18
- [Qemu-devel] [PATCH v17 6/9] target-avr: adding helpers for IN, OUT, SLEEP, WBR & unsupported instructions, Michael Rolnik, 2016/08/18
- Re: [Qemu-devel] [PATCH v17 6/9] target-avr: adding helpers for IN, OUT, SLEEP, WBR & unsupported instructions,
Peter Maydell <=
- [Qemu-devel] [PATCH v17 1/9] target-avr: AVR cores support is added., Michael Rolnik, 2016/08/18
- [Qemu-devel] [PATCH v17 7/9] target-avr: adding instruction translation, Michael Rolnik, 2016/08/18
- [Qemu-devel] [PATCH v17 8/9] target-avr: instruction decoder generator, Michael Rolnik, 2016/08/18
- [Qemu-devel] [PATCH v17 9/9] target-avr: adding instruction decoder, Michael Rolnik, 2016/08/18
- Re: [Qemu-devel] [PATCH v17 0/9] 8bit AVR cores, no-reply, 2016/08/18
- Re: [Qemu-devel] [PATCH v17 0/9] 8bit AVR cores, Peter Maydell, 2016/08/18