Re: [PATCH 1/2] hw/riscv: Modify MROM size to end at 0x10000

2020-07-09 Thread Bin Meng
Hi Philippe, On Thu, Jul 9, 2020 at 1:15 PM Philippe Mathieu-Daudé wrote: > > On 7/9/20 3:09 AM, Bin Meng wrote: > > From: Bin Meng > > > > At present the size of Mask ROM for sifive_u / spike / virt machines > > is set to 0x11000, which ends at an unusual address. This changes the > > size to 0

Re: [PATCH 1/2] hw/riscv: Modify MROM size to end at 0x10000

2020-07-08 Thread Philippe Mathieu-Daudé
On 7/9/20 3:09 AM, Bin Meng wrote: > From: Bin Meng > > At present the size of Mask ROM for sifive_u / spike / virt machines > is set to 0x11000, which ends at an unusual address. This changes the > size to 0xf000 so that it ends at 0x1. Maybe the size is correct but the first 4K are shadowe

[PATCH 1/2] hw/riscv: Modify MROM size to end at 0x10000

2020-07-08 Thread Bin Meng
From: Bin Meng At present the size of Mask ROM for sifive_u / spike / virt machines is set to 0x11000, which ends at an unusual address. This changes the size to 0xf000 so that it ends at 0x1. Signed-off-by: Bin Meng --- hw/riscv/sifive_u.c | 2 +- hw/riscv/spike.c| 2 +- hw/riscv/vir