[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] OpenRISC - SPR_PICMR always 'OR-ing' the values
From: |
Stafford Horne |
Subject: |
Re: [Qemu-devel] OpenRISC - SPR_PICMR always 'OR-ing' the values |
Date: |
Sun, 20 May 2018 11:54:54 +0900 |
User-agent: |
Mutt/1.9.5 (2018-04-13) |
On Sat, May 19, 2018 at 08:08:47PM -0300, Davidson Francis wrote:
> Hello Stafford,
>
> I'm currently using or1k as a target CPU in an operating system that
> I'm working.
> It happens that I'm having some issues regarding the PICMR register: I realize
> that in the latest Qemu version (2.12) when I write into PICMR, the Qemu is
> actually 'OR-ing' the values (as I could note in target/openrisc/sys_helper.c
> file), so I can't mask an already enabled interrupt.
>
> I don't know if this behaviour is expected and if so, I'm sorry, but this does
> not occurs in the or1ksim, so I thought this could be might an issue.
Hello, thanks for pointing this out. It looks wrong to me too. Have you tested
changing it to just `env->picmr = rb;`?
-Stafford
- Re: [Qemu-devel] OpenRISC - SPR_PICMR always 'OR-ing' the values,
Stafford Horne <=