Re: [PATCH v2] hw/adc/stm32f2xx_adc: Correct memory region size and access size

2020-05-25 Thread Alistair Francis
On Mon, May 25, 2020 at 4:10 AM Philippe Mathieu-Daudé wrote: > > The ADC region size is 256B, split as: > - [0x00 - 0x4f] defined > - [0x50 - 0xff] reserved > > All registers are 32-bit (thus when the datasheet mentions the > last defined register is 0x4c, it means its address range is > 0x4c .

[PATCH v2] hw/adc/stm32f2xx_adc: Correct memory region size and access size

2020-05-25 Thread Philippe Mathieu-Daudé
The ADC region size is 256B, split as: - [0x00 - 0x4f] defined - [0x50 - 0xff] reserved All registers are 32-bit (thus when the datasheet mentions the last defined register is 0x4c, it means its address range is 0x4c .. 0x4f. This model implementation is also 32-bit. Set MemoryRegionOps 'impl'