]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
sun4m: Add Sun CG3 framebuffer initialisation function
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 15 Oct 2013 20:03:04 +0000 (21:03 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Thu, 27 Feb 2014 10:01:41 +0000 (10:01 +0000)
commitaf87bf290f31d8ef0aaf8f20259fa34e51ed1e7a
tree74102a04bbf8a5d2af967021512842f2938dd3e0
parent9eb08a435a5380f3fe07d9019f49c0358cb2d491
sun4m: Add Sun CG3 framebuffer initialisation function

In order to allow the user to choose the framebuffer for sparc-softmmu, add
-vga tcx and -vga cg3 options to the QEMU command line. If no option is
specified, the default TCX framebuffer is used.

Since proprietary FCode ROMs use a resolution of 1152x900, slightly relax the
validation rules to allow both displays to be initiated at the higher
resolution used by these ROMs upon request (OpenBIOS FCode ROMs default to
the normal QEMU sun4m default resolution of 1024x768).

Finally move any fprintf(stderr ...) statements in the areas affected by this
patch over to the new error_report() function.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
CC: Blue Swirl <blauwirbel@gmail.com>
CC: Anthony Liguori <aliguori@amazon.com>
CC: Peter Maydell <peter.maydell@linaro.org>
CC: Bob Breuer <breuerr@mc.net>
CC: Artyom Tarasenko <atar4qemu@gmail.com>
hw/sparc/sun4m.c
include/sysemu/sysemu.h
vl.c