From eca1a166384aa5a61d531a103766dfce95b7d299 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Thu, 13 Sep 2012 12:25:35 -0500 Subject: pc386/console: alternative framebuffer implementation for cirrus GD5446 QEMU device Command-line option -D configures Cirrus GD5446 PCI display adapter emulation in QEMU environment. QEMU option -vga cirrus Signed-off-by: Pavel Pisa --- sim-scripts/pc386.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sim-scripts') diff --git a/sim-scripts/pc386.in b/sim-scripts/pc386.in index bcda293..9c35cde 100644 --- a/sim-scripts/pc386.in +++ b/sim-scripts/pc386.in @@ -21,6 +21,7 @@ if [ ! -r ${runBSP} ] ; then fi bspNeedsDos2Unix="yes" bspRunsFailRandomly="yes" +bspSupportsDisplayAdapter="yes" # Set the defaults based upon arguments given and do some error checking if [ X${QEMUDIR} == X ] ; then @@ -69,11 +70,17 @@ runARGS() # -cpu 486 # can also redirect to file with file:log/"`basename ${1} .exe` SERIAL_ARG="stdio" + if [ ${enable_display_adapter} = "no" ] ; then + GRAPHIC_ARG="-nographic" + else + GRAPHIC_ARG="-vga cirrus" + fi # core2duo with newer qemu for smp support # 486 or pentium for older qemu echo "-m 512 -boot a -cpu 486 \ -fda ${fd0Image} -hda fat:${hd0Dir} ${COVERAGE_ARG} \ -monitor null -nographic -serial ${SERIAL_ARG} --no-reboot" + -monitor null ${GRAPHIC_ARG} -serial ${SERIAL_ARG} --no-reboot" } checkBSPFaults() -- cgit v1.2.3