Subversion Repositories HelenOS-historic

Rev

Rev 607 | Rev 958 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 607 Rev 625
Line 36... Line 36...
36
static serial_t sconf[SERIAL_MAX];
36
static serial_t sconf[SERIAL_MAX];
37
static bool kb_enabled;
37
static bool kb_enabled;
38
 
38
 
39
static void serial_write(chardev_t *d, const char ch)
39
static void serial_write(chardev_t *d, const char ch)
40
{
40
{
41
    int i;
-
 
42
    serial_t *sd = (serial_t *)d->data;
41
    serial_t *sd = (serial_t *)d->data;
43
 
42
 
44
    if (ch == '\n')
43
    if (ch == '\n')
45
        serial_write(d, '\r');
44
        serial_write(d, '\r');
46
    /* Wait until transmit buffer empty */
45
    /* Wait until transmit buffer empty */