[PATCH] riscv: Make sifive_test finisher 4 bytes
gedare at rtems.org
Tue Sep 15 15:18:10 UTC 2020
On Tue, Sep 15, 2020 at 1:33 AM Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
> On 15/09/2020 09:09, Hesham Almatary wrote:
> > QEMU is now stricter with MMIO sizes and accesses. uintptr_t on RV64
> > is 8 bytes and generates an sd instruction that Store/AMO faults
> > because sifive_test MMIO expects 4 bytes accesses.
This is definitely a type mismatch. The uintptr_t* should only be used
to point to something that is a memory address.
> devel mailing list
> devel at rtems.org
More information about the devel