hw/sparc/sun4m: Introduce Sun4mMachineClass
commit95bc47dec8385e78d6a92c64f25c9f380d95e669
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 3 May 2021 17:12:59 +0000 (3 19:12 +0200)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 4 May 2021 21:45:28 +0000 (4 22:45 +0100)
treeac3f8e8d9c6a8ab1fa4ede4ae789783de3a1d0fe
parent828d01b7c5ea567cfc9cdb1b66605f9855bc948a
hw/sparc/sun4m: Introduce Sun4mMachineClass

Instead of passing the sun4m_hwdef structure via
machine_init(), store it into the MachineClass.

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