[jhc] [BUG] Poke should use volatile.

Kiwamu Okabe kiwamu at gmail.com
Thu Mar 7 12:39:08 CET 2013


On Thu, Mar 7, 2013 at 6:24 PM, Kiwamu Okabe <kiwamu at gmail.com> wrote:
> Ah. It's good news for me.
> I understand that poke function spec isn't BUG.
> I will rewrite Cortex-M3 demo with extern_volatile.patch style.
> And Ajhc's volatile patch should be dropped.
> In my use case, ForeignData style doesn't be needed.

Just one last thing.
The style is good for peek function?
It's expected that reading the register is read twice
by peek-ing same address by Haskell code twice.

Best regards,
Kiwamu Okabe

More information about the jhc mailing list