summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-09-13 12:26:20 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-09-13 12:26:20 -0500
commitff0fa228cb835290482255ede493d2fb36329bde (patch)
tree923ada0970ae0b790d5b6f4913680233f40e8206
parentMerge branch 'master' of ssh://git.rtems.org/home/joel/git/rtems-testing (diff)
parentpc386/console: alternative framebuffer implementation for cirrus GD5446 QEMU ... (diff)
downloadrtems-testing-ff0fa228cb835290482255ede493d2fb36329bde.tar.bz2
Merge branch 'master' of ssh://git.rtems.org/data/git/rtems-testing
-rw-r--r--sim-scripts/pc386.in7
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()