hw/sparc/sun4m: Move each sun4m_hwdef definition in its class_init
commitbcdd781ff8c695920fe5534a34c6ab77889601c1
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 3 May 2021 17:13:03 +0000 (3 19:13 +0200)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 4 May 2021 21:45:28 +0000 (4 22:45 +0100)
tree9a17ee9ab70b0340aa581fca5970304ac3238ed0
parent41db3b77e3c3d6869a4994877eab90d9bcf5657b
hw/sparc/sun4m: Move each sun4m_hwdef definition in its class_init

Remove the sun4m_hwdefs[] array by moving assigning the
structure fields directly in each machine class_init()
function.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20210503171303.822501-7-f4bug@amsat.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/sparc/sun4m.c