Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/drivers/pl011/pl011.c

    r84176f3 r6404aca  
    6060        pl011_uart_t *uart = dev->data;
    6161
    62         /* If the userspace owns the console, do not output anything. */
    63         if (uart->parea.mapped && !console_override)
    64                 return;
    65 
    66         if (!ascii_check(ch))
     62        if (!ascii_check(ch)) {
    6763                pl011_uart_sendb(uart, U_SPECIAL);
    68         else {
     64        } else {
    6965                if (ch == '\n')
    7066                        pl011_uart_sendb(uart, (uint8_t) '\r');
     
    104100        assert(uart);
    105101        uart->regs = (void *)km_map(addr, sizeof(pl011_uart_regs_t),
    106             KM_NATURAL_ALIGNMENT, PAGE_WRITE | PAGE_NOT_CACHEABLE);
     102            KM_NATURAL_ALIGNMENT, PAGE_NOT_CACHEABLE);
    107103        assert(uart->regs);
    108104
     
    135131        uart->irq.instance = uart;
    136132
    137         ddi_parea_init(&uart->parea);
    138         uart->parea.pbase = addr;
    139         uart->parea.frames = 1;
    140         uart->parea.unpriv = false;
    141         uart->parea.mapped = false;
    142         ddi_parea_register(&uart->parea);
    143 
    144133        return true;
    145134}
Note: See TracChangeset for help on using the changeset viewer.