/* This function read a character from serial without interrupt enable mode */
char rt_serial_getc(void)
/* This function read a character from serial without interrupt enable mode */
char rt_serial_getc(void)
{
    while(!(inb(COM1+COMSTATUS) & COMDATA));
    return inb(COM1+COMREAD);
}