This patchset primarily addresses Andreas' comments with regard to cg3 init/realize. The first patch addresses this, followed by a second patch to address a previous comment made by Paolo.
The last two patches then alter tcx in a similar fashion to bring it in line with the cg3 changes. Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk> Mark Cave-Ayland (4): cg3: move initialisation from realizefn to initfn cg3: add extra check to prevent CG3 register array overflow tcx: move initialisation from SysBusDevice class to TCX class realizefn tcx: move initialisation from realizefn to initfn hw/display/cg3.c | 27 ++++++++++++++--------- hw/display/tcx.c | 64 ++++++++++++++++++++++++++++++------------------------ hw/sparc/sun4m.c | 10 ++++----- 3 files changed, 58 insertions(+), 43 deletions(-) -- 1.7.10.4