Re: [PATCH] hw/misc/pca9552: Add missing TypeInfo::class_size field

2020-06-30 Thread Philippe Mathieu-Daudé
On 6/29/20 11:07 PM, Peter Maydell wrote: > On Mon, 29 Jun 2020 at 08:47, Philippe Mathieu-Daudé wrote: >> >> When adding the generic PCA955xClass in commit 736132e455, we >> forgot to set the class_size field. Fill it now to avoid: > > Thanks; I've applied this to master since it fixes a memory

Re: [PATCH] hw/misc/pca9552: Add missing TypeInfo::class_size field

2020-06-29 Thread Peter Maydell
On Mon, 29 Jun 2020 at 08:47, Philippe Mathieu-Daudé wrote: > > When adding the generic PCA955xClass in commit 736132e455, we > forgot to set the class_size field. Fill it now to avoid: Thanks; I've applied this to master since it fixes a memory corruption that affects all arm targets and I'm

Re: [PATCH] hw/misc/pca9552: Add missing TypeInfo::class_size field

2020-06-29 Thread Jean-Christophe DUBOIS
Le 29/06/2020 à 09:47, Philippe Mathieu-Daudé a écrit : When adding the generic PCA955xClass in commit 736132e455, we forgot to set the class_size field. Fill it now to avoid: (gdb) run -machine mcimx6ul-evk -m 128M -display none -serial stdio -kernel ./OS.elf Starting program:

[PATCH] hw/misc/pca9552: Add missing TypeInfo::class_size field

2020-06-29 Thread Philippe Mathieu-Daudé
When adding the generic PCA955xClass in commit 736132e455, we forgot to set the class_size field. Fill it now to avoid: (gdb) run -machine mcimx6ul-evk -m 128M -display none -serial stdio -kernel ./OS.elf Starting program: ../../qemu/qemu/arm-softmmu/qemu-system-arm -machine mcimx6ul-evk -m