diff options
author | Pavel Pisa <pisa at cmp.felk.cvut.cz> | 2012-09-13 12:25:35 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-09-13 12:25:57 -0500 |
commit | eca1a166384aa5a61d531a103766dfce95b7d299 (patch) | |
tree | 923ada0970ae0b790d5b6f4913680233f40e8206 /sim-scripts/pc386.in | |
parent | c2dbc47e2f5e07b478a718d746e7e70c50b7ce71 (diff) |
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 <pisa at cmp.felk.cvut.cz>
Diffstat (limited to '')
-rw-r--r-- | sim-scripts/pc386.in | 7 |
1 files changed, 7 insertions, 0 deletions
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() |