Skip to contentSkip to conversation

console=com?L broken

DISCUSSION Christian Limpach 1 participant 1 message Mar 10, 2004

lore
Share & tools
lore
#0 lore raw

Hello!

console=com?L doesn't work because the output routine clears the 7 lower bits instead of the high bit.

*** xen/drivers/char/serial.c 2004/03/10 15:46:16 1.1
--- xen/drivers/char/serial.c 2004/03/10 15:46:34
***************
*** 129,135 ****
if ( handle & SERHND_HI )
c |= 0x80;
else if ( handle & SERHND_LO )
! c &= ~0x7f;

      while ( !(inb(uart->io_base + LSR) & LSR_THRE) )
          barrier();

--- 129,135 ----
if ( handle & SERHND_HI )
c |= 0x80;
else if ( handle & SERHND_LO )
! c &= 0x7f;

      while ( !(inb(uart->io_base + LSR) & LSR_THRE) )
          barrier();
Signature · 9 lines
Christian Limpach <[email protected]>



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click