pc386: Add Cirrus FB Driver to Makefile and configure.ac

The user has to explicitly enable this driver, choosing
it over the existing (and lame) CGA frame buffer driver
using USE_CIRRUS_GD5446=1 on the configure command line.
This commit is contained in:
Joel Sherrill
2012-09-28 16:38:06 -05:00
parent f97e450a66
commit 63241f8044
2 changed files with 13 additions and 1 deletions
+5 -1
View File
@@ -83,7 +83,6 @@ include_HEADERS += ../../i386/shared/comm/i386_io.h
libbsp_a_SOURCES += console/inch.c
libbsp_a_SOURCES += console/outch.c
libbsp_a_SOURCES += console/defkeymap.c
libbsp_a_SOURCES += console/fb_vga.c
libbsp_a_SOURCES += console/keyboard.c
libbsp_a_SOURCES += console/pc_keyb.c
libbsp_a_SOURCES += console/ps2_mouse.c
@@ -104,6 +103,11 @@ libbsp_a_SOURCES += console/printk_support.c
libbsp_a_SOURCES += console/vgacons.c
libbsp_a_SOURCES += console/exar17d15x.c
libbsp_a_SOURCES += console/rtd316.c
if USE_CIRRUS_GD5446
libbsp_a_SOURCES += console/fb_cirrus.c
else
libbsp_a_SOURCES += console/fb_vga.c
endif
# gdb
libbsp_a_SOURCES += ../../i386/shared/comm/i386-stub.c
+8
View File
@@ -74,6 +74,14 @@ RTEMS_BSPOPTS_HELP([CLOCK_DRIVER_USE_8254],
- you do not mind adding roughly 5 microseconds to each context switch.
])
RTEMS_BSPOPTS_SET([USE_CIRRUS_GD5446],[*],[0])
RTEMS_BSPOPTS_HELP([USE_CIRRUS_GD5446],
[If defined, enable use of the Cirrus GD5446 controller rather than the very basic
VGA driver for frame buffer support.
NOTE: This has only been tested on Qemu.])
AM_CONDITIONAL(USE_CIRRUS_GD5446,test "$USE_CIRRUS_GD5446" = "1")
if test X${CLOCK_DRIVER_USE_TSC} = X1 -a X${CLOCK_DRIVER_USE_8254} = X1 ; then
AC_MSG_ERROR([pc386 both TSC and 8254 specified for clock driver])
fi