Re: [Qemu-devel] [PATCH RFC 01/15] cpu/a9mpcore: QOM casting cleanup

2013-07-01 Thread Peter Crosthwaite
On Mon, Jul 1, 2013 at 7:00 AM, Andreas Färber wrote: > From: Andreas Färber > > Introduce type constant and cast macro and enforce its use by > renaming A9MPPrivState::busdev field to parent_obj. > > Signed-off-by: Andreas Färber Reviewed-by: Peter Crosthwaite > --- > hw/cpu/a9mpcore.c | 15

[Qemu-devel] [PATCH RFC 01/15] cpu/a9mpcore: QOM casting cleanup

2013-06-30 Thread Andreas Färber
From: Andreas Färber Introduce type constant and cast macro and enforce its use by renaming A9MPPrivState::busdev field to parent_obj. Signed-off-by: Andreas Färber --- hw/cpu/a9mpcore.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/hw/cpu/a9mpcore.c b/hw