Run-time selection of pc386 BSP console

Eric Norum eric.norum at
Thu Jul 11 20:26:26 UTC 2002

I've got an embedded processor module (PC-104) with no video adapter.  I 
now use gdb to poke the BSPConsolePort and BSPPrintkPort values to 1 and 
0, respectively, but this is a bit of a pain.  I think that it would be 
more useful to have the pc386 console driver detect the fact that 
there's no video adapter present and automatically switch to the 
serial-line console.

Something in console_initialize like:
	  && (<<<NO VIDEO DRIVER PRESENT>>>)) {
		BSPPrintkPort= BSP_UART_COM1;

My questions are:
1) Do others think that this is a good idea?
2) What code goes in the <<<NO VIDEO DRIVER PRESENT>>> expression?

Eric Norum <eric.norum at>
Department of Electrical Engineering
University of Saskatchewan
Saskatoon, Canada.
Phone: (306) 966-5394   FAX:   (306) 966-5407

More information about the users mailing list